Skip to content

Commit

Permalink
🐛 :: 아티스트 상세 이미지 URL 인코딩 처리
Browse files Browse the repository at this point in the history
  • Loading branch information
KangTaeHoon committed Jun 26, 2023
1 parent 64245f4 commit 783c31f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -120,8 +120,10 @@ extension ArtistDetailHeaderViewController {
)
self.introDescriptionLabel.attributedText = artistIntroDescriptionAttributedString

let originImageURLString: String = WMImageAPI.fetchArtistWithSquare(id: model.ID, version: model.imageSquareVersion).toString
let encodedImageURLString: String = originImageURLString.addingPercentEncoding(withAllowedCharacters: .urlQueryAllowed) ?? originImageURLString
artistImageView.kf.setImage(
with: URL(string: WMImageAPI.fetchArtistWithSquare(id: model.ID, version: model.imageSquareVersion).toString),
with: URL(string: encodedImageURLString),
placeholder: nil,
options: [.transition(.fade(0.2))]
)
Expand Down
2 changes: 1 addition & 1 deletion Tuist/ProjectDescriptionHelpers/Environment.swift
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ public enum Environment {
public static let platform = Platform.iOS
public static let baseSetting: SettingsDictionary = SettingsDictionary()
.marketingVersion("2.0.0")
.currentProjectVersion("41")
.currentProjectVersion("42")
.debugInformationFormat(DebugInformationFormat.dwarfWithDsym)
.otherLinkerFlags(["-ObjC"])
.bitcodeEnabled(false)
Expand Down

0 comments on commit 783c31f

Please sign in to comment.