mirror of
https://github.com/signalapp/Signal-Android.git
synced 2026-05-03 15:11:42 +01:00
Update copy for backup education screen.
This commit is contained in:
@@ -110,7 +110,13 @@ class LocalBackupsFragment : ComposeFragment() {
|
||||
MessageBackupsKeyEducationScreen(
|
||||
onNavigationClick = { backPressedDispatcher?.onBackPressedDispatcher?.onBackPressed() },
|
||||
onNextClick = { backstack.add(LocalBackupsNavKey.RECORD_RECOVERY_KEY) },
|
||||
mode = MessageBackupsKeyEducationScreenMode.LOCAL_BACKUP_UPGRADE
|
||||
mode = if (args.triggerUpdateFlow) {
|
||||
MessageBackupsKeyEducationScreenMode.LOCAL_BACKUP_UPGRADE
|
||||
} else if (SignalStore.backup.areBackupsEnabled) {
|
||||
MessageBackupsKeyEducationScreenMode.LOCAL_WITH_REMOTE_ENABLED
|
||||
} else {
|
||||
MessageBackupsKeyEducationScreenMode.DEFAULT
|
||||
}
|
||||
)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user