diff --git a/Session.xcodeproj/project.pbxproj b/Session.xcodeproj/project.pbxproj index 078613a9c..770cfaf2a 100644 --- a/Session.xcodeproj/project.pbxproj +++ b/Session.xcodeproj/project.pbxproj @@ -5299,7 +5299,7 @@ "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; CODE_SIGN_STYLE = Automatic; COPY_PHASE_STRIP = NO; - CURRENT_PROJECT_VERSION = 175; + CURRENT_PROJECT_VERSION = 177; DEBUG_INFORMATION_FORMAT = dwarf; DEVELOPMENT_TEAM = SUQ8J2PCT7; FRAMEWORK_SEARCH_PATHS = "$(inherited)"; @@ -5368,7 +5368,7 @@ "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; CODE_SIGN_STYLE = Automatic; COPY_PHASE_STRIP = NO; - CURRENT_PROJECT_VERSION = 175; + CURRENT_PROJECT_VERSION = 177; DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; DEVELOPMENT_TEAM = SUQ8J2PCT7; ENABLE_NS_ASSERTIONS = NO; @@ -5429,7 +5429,7 @@ "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; CODE_SIGN_STYLE = Automatic; COPY_PHASE_STRIP = NO; - CURRENT_PROJECT_VERSION = 175; + CURRENT_PROJECT_VERSION = 177; DEBUG_INFORMATION_FORMAT = dwarf; DEVELOPMENT_TEAM = SUQ8J2PCT7; FRAMEWORK_SEARCH_PATHS = "$(inherited)"; @@ -5499,7 +5499,7 @@ "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; CODE_SIGN_STYLE = Automatic; COPY_PHASE_STRIP = NO; - CURRENT_PROJECT_VERSION = 175; + CURRENT_PROJECT_VERSION = 177; DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; DEVELOPMENT_TEAM = SUQ8J2PCT7; ENABLE_NS_ASSERTIONS = NO; @@ -6384,7 +6384,7 @@ CODE_SIGN_ENTITLEMENTS = Session/Meta/Signal.entitlements; CODE_SIGN_IDENTITY = "iPhone Developer"; "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; - CURRENT_PROJECT_VERSION = 175; + CURRENT_PROJECT_VERSION = 177; DEVELOPMENT_TEAM = SUQ8J2PCT7; FRAMEWORK_SEARCH_PATHS = ( "$(inherited)", @@ -6452,7 +6452,7 @@ CODE_SIGN_ENTITLEMENTS = Session/Meta/Signal.entitlements; CODE_SIGN_IDENTITY = "iPhone Developer"; "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; - CURRENT_PROJECT_VERSION = 175; + CURRENT_PROJECT_VERSION = 177; DEVELOPMENT_TEAM = SUQ8J2PCT7; FRAMEWORK_SEARCH_PATHS = ( "$(inherited)", diff --git a/Session/Home/HomeVC.swift b/Session/Home/HomeVC.swift index 416bc9e01..1736e6470 100644 --- a/Session/Home/HomeVC.swift +++ b/Session/Home/HomeVC.swift @@ -158,33 +158,12 @@ final class HomeVC : BaseVC, UITableViewDataSource, UITableViewDelegate, UIViewC super.viewDidAppear(animated) reload() UserDefaults.standard[.hasLaunchedOnce] = true - showKeyPairMigrationModalIfNeeded() - showKeyPairMigrationSuccessModalIfNeeded() } deinit { NotificationCenter.default.removeObserver(self) } - // MARK: Migration - private func showKeyPairMigrationModalIfNeeded() { - guard !KeyPairUtilities.hasV2KeyPair() else { return } - let sheet = KeyPairMigrationSheet() - sheet.modalPresentationStyle = .overFullScreen - sheet.modalTransitionStyle = .crossDissolve - present(sheet, animated: true, completion: nil) - } - - private func showKeyPairMigrationSuccessModalIfNeeded() { - let userDefaults = UserDefaults.standard - guard KeyPairUtilities.hasV2KeyPair() && userDefaults[.isMigratingToV2KeyPair] else { return } - let sheet = KeyPairMigrationSuccessSheet() - sheet.modalPresentationStyle = .overFullScreen - sheet.modalTransitionStyle = .crossDissolve - present(sheet, animated: true, completion: nil) - UserDefaults.standard[.isMigratingToV2KeyPair] = false - } - // MARK: Table View Data Source func tableView(_ tableView: UITableView, numberOfRowsInSection section: Int) -> Int { return Int(threadCount) diff --git a/Session/Meta/Session-Info.plist b/Session/Meta/Session-Info.plist index cfd13c124..2948fa51e 100644 --- a/Session/Meta/Session-Info.plist +++ b/Session/Meta/Session-Info.plist @@ -63,7 +63,7 @@ NSContactsUsageDescription Signal uses your contacts to find users you know. We do not store your contacts on the server. NSFaceIDUsageDescription - Session's Screen Lock feature uses Face ID. + Session's Screen Lock feature uses Face ID. NSMicrophoneUsageDescription Session needs access to your microphone to record media. NSPhotoLibraryAddUsageDescription