Fix navigation bug after deleting notification profile.

This commit is contained in:
Cody Henthorne
2021-12-20 13:31:18 -05:00
committed by Greyson Parrelli
parent 8014a70134
commit a15ba60252
@@ -86,7 +86,7 @@ class NotificationProfileDetailsFragment : DSLSettingsFragment() {
adapter.submitList(getConfiguration(state).toMappingModelList())
}
NotificationProfileDetailsViewModel.State.NotLoaded -> Unit
NotificationProfileDetailsViewModel.State.Invalid -> findNavController().navigateUp()
NotificationProfileDetailsViewModel.State.Invalid -> requireActivity().onBackPressed()
}
}
}