Polish deletion UX.

This commit is contained in:
Alex Hart
2025-05-30 15:33:44 -03:00
committed by Cody Henthorne
parent ccce37d023
commit df170dac32
12 changed files with 315 additions and 109 deletions

View File

@@ -80,7 +80,7 @@ abstract class UpgradeToPaidTierBottomSheet : ComposeBottomSheetDialogFragment()
viewLifecycleOwner.lifecycleScope.launch(SignalDispatchers.Main) {
repeatOnLifecycle(Lifecycle.State.RESUMED) {
viewModel.deletionState.collectLatest {
if (it == DeletionState.RUNNING) {
if (it == DeletionState.DELETE_BACKUPS) {
Toast.makeText(
requireContext(),
R.string.MessageBackupsFlowFragment__a_backup_deletion_is_in_progress,