mirror of
https://github.com/signalapp/Signal-Android.git
synced 2026-04-22 01:40:07 +01:00
Add cellular backup toggle for message backup.
This commit is contained in:
@@ -31,7 +31,7 @@ class RemoteBackupsSettingsViewModel : ViewModel() {
|
||||
val state: State<RemoteBackupsSettingsState> = internalState
|
||||
|
||||
fun setCanBackUpUsingCellular(canBackUpUsingCellular: Boolean) {
|
||||
// TODO [message-backups] -- Update via repository?
|
||||
SignalStore.backup().backupWithCellular = canBackUpUsingCellular
|
||||
internalState.value = state.value.copy(canBackUpUsingCellular = canBackUpUsingCellular)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user