kopia lustrzana https://github.com/ryukoposting/Signal-Android
Fix navigation bug after deleting notification profile.
rodzic
8014a70134
commit
a15ba60252
|
@ -86,7 +86,7 @@ class NotificationProfileDetailsFragment : DSLSettingsFragment() {
|
||||||
adapter.submitList(getConfiguration(state).toMappingModelList())
|
adapter.submitList(getConfiguration(state).toMappingModelList())
|
||||||
}
|
}
|
||||||
NotificationProfileDetailsViewModel.State.NotLoaded -> Unit
|
NotificationProfileDetailsViewModel.State.NotLoaded -> Unit
|
||||||
NotificationProfileDetailsViewModel.State.Invalid -> findNavController().navigateUp()
|
NotificationProfileDetailsViewModel.State.Invalid -> requireActivity().onBackPressed()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Ładowanie…
Reference in New Issue