Skip to content

Commit 8c36006

Browse files
committed
Update more uses of registration build flag
1 parent 8af4c0f commit 8c36006

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

Signal/Registration/UserInterface/RegistrationSplashViewController.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ public class RegistrationSplashViewController: OWSViewController, OWSNavigationC
140140
continueButton.accessibilityIdentifier = "registration.splash.continueButton"
141141

142142
let largeButtonsContainer: UIView
143-
if FeatureFlags.Backups.supported {
143+
if FeatureFlags.Backups.alwaysShowSettings {
144144
let restoreOrTransferButton = UIButton(
145145
configuration: .largeSecondary(title: OWSLocalizedString(
146146
"ONBOARDING_SPLASH_RESTORE_OR_TRANSFER_BUTTON_TITLE",

Signal/src/ViewControllers/HomeView/ConversationSplitViewController.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -739,7 +739,7 @@ private class NoSelectedConversationViewController: OWSViewController {
739739
extension ConversationSplitViewController: DeviceTransferServiceObserver {
740740
override func viewWillAppear(_ animated: Bool) {
741741
super.viewWillAppear(animated)
742-
if !FeatureFlags.Backups.supported {
742+
if !FeatureFlags.Backups.alwaysShowSettings {
743743
AppEnvironment.shared.deviceTransferServiceRef.addObserver(self)
744744
AppEnvironment.shared.deviceTransferServiceRef.startListeningForNewDevices()
745745
}
@@ -756,7 +756,7 @@ extension ConversationSplitViewController: DeviceTransferServiceObserver {
756756
override func viewWillDisappear(_ animated: Bool) {
757757
super.viewWillDisappear(animated)
758758

759-
if !FeatureFlags.Backups.supported {
759+
if !FeatureFlags.Backups.alwaysShowSettings {
760760
AppEnvironment.shared.deviceTransferServiceRef.removeObserver(self)
761761
AppEnvironment.shared.deviceTransferServiceRef.stopListeningForNewDevices()
762762
}

0 commit comments

Comments
 (0)