diff --git a/Boolti/Boolti.xcodeproj/project.pbxproj b/Boolti/Boolti.xcodeproj/project.pbxproj index b949291f..d6c6b80e 100644 --- a/Boolti/Boolti.xcodeproj/project.pbxproj +++ b/Boolti/Boolti.xcodeproj/project.pbxproj @@ -3022,7 +3022,7 @@ CODE_SIGN_ENTITLEMENTS = Boolti/Boolti.entitlements; "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; CODE_SIGN_STYLE = Manual; - CURRENT_PROJECT_VERSION = 4; + CURRENT_PROJECT_VERSION = 1; DEVELOPMENT_TEAM = ""; "DEVELOPMENT_TEAM[sdk=iphoneos*]" = 83B9Y749K7; GENERATE_INFOPLIST_FILE = YES; @@ -3039,7 +3039,7 @@ "$(inherited)", "@executable_path/Frameworks", ); - MARKETING_VERSION = 1.7.0; + MARKETING_VERSION = 1.7.1; OTHER_LDFLAGS = "-ObjC"; PRODUCT_BUNDLE_IDENTIFIER = com.nexters.boolti; PRODUCT_NAME = "$(TARGET_NAME)"; @@ -3064,7 +3064,7 @@ CODE_SIGN_ENTITLEMENTS = Boolti/Boolti.entitlements; "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Distribution"; CODE_SIGN_STYLE = Manual; - CURRENT_PROJECT_VERSION = 4; + CURRENT_PROJECT_VERSION = 1; DEVELOPMENT_TEAM = ""; "DEVELOPMENT_TEAM[sdk=iphoneos*]" = 83B9Y749K7; GENERATE_INFOPLIST_FILE = YES; @@ -3081,7 +3081,7 @@ "$(inherited)", "@executable_path/Frameworks", ); - MARKETING_VERSION = 1.7.0; + MARKETING_VERSION = 1.7.1; OTHER_LDFLAGS = "-ObjC"; PRODUCT_BUNDLE_IDENTIFIER = com.nexters.boolti; PRODUCT_NAME = "$(TARGET_NAME)"; diff --git a/Boolti/Boolti/Sources/Entities/Ticketing/GiftCardImageEntity.swift b/Boolti/Boolti/Sources/Entities/Ticketing/GiftCardImageEntity.swift index 2853668b..8dcbe913 100644 --- a/Boolti/Boolti/Sources/Entities/Ticketing/GiftCardImageEntity.swift +++ b/Boolti/Boolti/Sources/Entities/Ticketing/GiftCardImageEntity.swift @@ -10,5 +10,5 @@ import Foundation struct GiftCardImageEntity { let id: Int let path: String - let thumbnailPath: String + let previewPath: String } diff --git a/Boolti/Boolti/Sources/Network/DTO/Gifting/Response/GiftCardImagesResponseDTO.swift b/Boolti/Boolti/Sources/Network/DTO/Gifting/Response/GiftCardImagesResponseDTO.swift index f7209123..f91e9148 100644 --- a/Boolti/Boolti/Sources/Network/DTO/Gifting/Response/GiftCardImagesResponseDTO.swift +++ b/Boolti/Boolti/Sources/Network/DTO/Gifting/Response/GiftCardImagesResponseDTO.swift @@ -13,6 +13,7 @@ struct GiftCardImagesResponseDTOElement: Decodable { let thumbnailPath: String let invite_path: String? let invite_thumbnail: String? + let preview_path: String? let sequence: Int let createdAt: String let modifiedAt: String? @@ -27,7 +28,7 @@ extension GiftCardImagesResponseDTO { return self.map { image in return GiftCardImageEntity(id: image.id, path: image.path, - thumbnailPath: image.thumbnailPath) + previewPath: image.preview_path ?? image.path) } } } diff --git a/Boolti/Boolti/Sources/UILayer/Concert/Ticketing/Detail/GiftingDetail/GiftingDetailViewController.swift b/Boolti/Boolti/Sources/UILayer/Concert/Ticketing/Detail/GiftingDetail/GiftingDetailViewController.swift index 8b0d662b..f66e668c 100644 --- a/Boolti/Boolti/Sources/UILayer/Concert/Ticketing/Detail/GiftingDetail/GiftingDetailViewController.swift +++ b/Boolti/Boolti/Sources/UILayer/Concert/Ticketing/Detail/GiftingDetail/GiftingDetailViewController.swift @@ -190,7 +190,7 @@ extension GiftingDetailViewController { .items(cellIdentifier: CardImageCollectionViewCell.className, cellType: CardImageCollectionViewCell.self) ) { index, entity, cell in - cell.setData(with: entity.thumbnailPath) + cell.setData(with: entity.previewPath) } .disposed(by: self.disposeBag) @@ -233,7 +233,7 @@ extension GiftingDetailViewController { guard let concertInfo = entity else { return } let ticketInfo = owner.viewModel.selectedTicket - owner.concertTicketInfoView.setData(posterURL: concertInfo.posters.first!.thumbnailPath, + owner.concertTicketInfoView.setData(posterURL: concertInfo.posters.first!.path, title: concertInfo.name, datetime: concertInfo.date, ticketInfo: ticketInfo)