Fix for displaying photos
This commit is contained in:
parent
9a1c05cb93
commit
f78becf791
@ -1567,7 +1567,7 @@
|
|||||||
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
|
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
|
||||||
CODE_SIGN_ENTITLEMENTS = AutoCat/AutoCat.entitlements;
|
CODE_SIGN_ENTITLEMENTS = AutoCat/AutoCat.entitlements;
|
||||||
CODE_SIGN_STYLE = Automatic;
|
CODE_SIGN_STYLE = Automatic;
|
||||||
CURRENT_PROJECT_VERSION = 133;
|
CURRENT_PROJECT_VERSION = 134;
|
||||||
DEVELOPMENT_TEAM = 46DTTB8X4S;
|
DEVELOPMENT_TEAM = 46DTTB8X4S;
|
||||||
INFOPLIST_FILE = AutoCat/Info.plist;
|
INFOPLIST_FILE = AutoCat/Info.plist;
|
||||||
INFOPLIST_KEY_CFBundleDisplayName = AutoCat;
|
INFOPLIST_KEY_CFBundleDisplayName = AutoCat;
|
||||||
@ -1594,7 +1594,7 @@
|
|||||||
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
|
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
|
||||||
CODE_SIGN_ENTITLEMENTS = AutoCat/AutoCat.entitlements;
|
CODE_SIGN_ENTITLEMENTS = AutoCat/AutoCat.entitlements;
|
||||||
CODE_SIGN_STYLE = Automatic;
|
CODE_SIGN_STYLE = Automatic;
|
||||||
CURRENT_PROJECT_VERSION = 133;
|
CURRENT_PROJECT_VERSION = 134;
|
||||||
DEVELOPMENT_TEAM = 46DTTB8X4S;
|
DEVELOPMENT_TEAM = 46DTTB8X4S;
|
||||||
INFOPLIST_FILE = AutoCat/Info.plist;
|
INFOPLIST_FILE = AutoCat/Info.plist;
|
||||||
INFOPLIST_KEY_CFBundleDisplayName = AutoCat;
|
INFOPLIST_KEY_CFBundleDisplayName = AutoCat;
|
||||||
|
|||||||
@ -15,7 +15,7 @@ struct AdsScreen: View {
|
|||||||
@State var galleryModel: ACImageSliderModel?
|
@State var galleryModel: ACImageSliderModel?
|
||||||
|
|
||||||
var body: some View {
|
var body: some View {
|
||||||
List(viewModel.ads) { ad in
|
List(viewModel.ads, id: \.self) { ad in
|
||||||
Section(viewModel.dateStringFrom(ad.date)) {
|
Section(viewModel.dateStringFrom(ad.date)) {
|
||||||
if let price = ad.price {
|
if let price = ad.price {
|
||||||
TextRowView(title: "Price", value: price)
|
TextRowView(title: "Price", value: price)
|
||||||
|
|||||||
@ -8,7 +8,7 @@
|
|||||||
|
|
||||||
import Foundation
|
import Foundation
|
||||||
|
|
||||||
public struct VehicleAdDto: Decodable, Sendable, Identifiable {
|
public struct VehicleAdDto: Decodable, Sendable, Hashable {
|
||||||
|
|
||||||
public var id: Int = 0
|
public var id: Int = 0
|
||||||
public var url: String?
|
public var url: String?
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user