mirror of
https://github.com/oxen-io/session-android.git
synced 2025-06-09 11:18:35 +00:00
Make Custom Notification dialog dismiss itself on up press.
This commit is contained in:
parent
d0ca9ba6a6
commit
98ab23c1a3
@ -101,7 +101,7 @@ public class CustomNotificationsDialogFragment extends DialogFragment {
|
||||
|
||||
Toolbar toolbar = view.findViewById(R.id.custom_notifications_toolbar);
|
||||
|
||||
toolbar.setNavigationOnClickListener(v -> requireActivity().finish());
|
||||
toolbar.setNavigationOnClickListener(v -> dismissAllowingStateLoss());
|
||||
|
||||
CompoundButton.OnCheckedChangeListener onCustomNotificationsSwitchCheckChangedListener = (buttonView, isChecked) -> {
|
||||
viewModel.setHasCustomNotifications(isChecked);
|
||||
|
Loading…
x
Reference in New Issue
Block a user