Skip to content

Commit dd31170

Browse files
Merge pull request #200 from YAPP-Github/chore/#199-appstore-navigation
[Chore] 앱 업데이트를 위한 앱스토어 이동 로직 구현
2 parents f59d53b + 6bb7474 commit dd31170

2 files changed

Lines changed: 3 additions & 2 deletions

File tree

Neki-iOS/APP/Sources/Application/AppCoordinator.swift

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -175,9 +175,8 @@ struct AppCoordinator {
175175
return .send(.route(.mainTab(.archive(.root(.addPhotoFromShareExtension(appGroupID: appGroupID))))))
176176

177177
case .didTapUpdateAlert:
178-
// TODO: 앱스토어 URL 필요
179178
return .run { _ in
180-
let appStoreURL = URL(string: "https://itunes.apple.com/kr/app/neki")!
179+
let appStoreURL = URL(string: "https://apps.apple.com/kr/app/neki/id6757490609")!
181180
await openURL(appStoreURL)
182181
}
183182

Neki-iOS/Shared/DesignSystem/Sources/Modifier/NekiAlertModifier.swift

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -117,10 +117,12 @@ struct NekiAlertModifier: ViewModifier {
117117
onSecondary?()
118118
} label: {
119119
Text(secondaryText ?? "선택")
120+
.frame(maxWidth: .infinity)
120121
.padding(.horizontal, 32)
121122
.padding(.vertical, 4)
122123
.underline()
123124
.tint(.primary500)
125+
.nekiFont(.body14Regular)
124126
}
125127
.disabled(isProcessing)
126128
}

0 commit comments

Comments
 (0)