Add display of last backup time to restore flow.

This commit is contained in:
Clark
2024-06-11 10:10:45 -04:00
committed by Greyson Parrelli
parent 16773c9b17
commit 6adddf4a0c
7 changed files with 53 additions and 17 deletions

View File

@@ -143,7 +143,10 @@ class InternalBackupPlaygroundViewModel : ViewModel() {
_state.value = _state.value.copy(remoteBackupState = RemoteBackupState.Unknown)
disposables += Single
.fromCallable { BackupRepository.getRemoteBackupState() }
.fromCallable {
BackupRepository.restoreBackupTier()
BackupRepository.getRemoteBackupState()
}
.subscribeOn(Schedulers.io())
.subscribe { result ->
when {