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