Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feat [#181] 앱 버전 업데이트 알림 구현 #182

Merged
merged 5 commits into from
Apr 24, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
[Feat] #181 - 코드리뷰 반영
yeonsu0-0 committed Apr 24, 2024
commit 41950b906eb733735f1f3a672916a9de03707c01
4 changes: 2 additions & 2 deletions DontBe-iOS/DontBe-iOS/Application/SceneDelegate.swift
Original file line number Diff line number Diff line change
@@ -91,7 +91,7 @@ class SceneDelegate: UIResponder, UIWindowSceneDelegate {
let splitCurrentProjectVersion = currentProjectVersion.split(separator: ".").map { $0 }

if splitCurrentProjectVersion.count > 0 && splitMarketingVersion.count > 0 {

if splitCurrentProjectVersion[0] < splitMarketingVersion[0] {
self.showUpdateAlert(version: marketingVersion)

@@ -122,4 +122,4 @@ class SceneDelegate: UIResponder, UIWindowSceneDelegate {
[ cancelAction, updateAction ].forEach { alert.addAction($0) }
window?.rootViewController?.present(alert, animated: true, completion: nil)
}
}
}