Stop alarm before calling dismiss
This commit is contained in:
parent
49421da1d6
commit
b061bc7dd6
1 changed files with 1 additions and 1 deletions
|
@ -70,6 +70,7 @@ class ErrorDialog : DaggerDialogFragment() {
|
||||||
binding.title.text = title
|
binding.title.text = title
|
||||||
binding.ok.setOnClickListener {
|
binding.ok.setOnClickListener {
|
||||||
uel.log(Action.ERROR_DIALOG_OK, Sources.Unknown)
|
uel.log(Action.ERROR_DIALOG_OK, Sources.Unknown)
|
||||||
|
stopAlarm("Dismiss")
|
||||||
dismiss()
|
dismiss()
|
||||||
}
|
}
|
||||||
binding.mute.setOnClickListener {
|
binding.mute.setOnClickListener {
|
||||||
|
@ -110,7 +111,6 @@ class ErrorDialog : DaggerDialogFragment() {
|
||||||
super.dismissAllowingStateLoss()
|
super.dismissAllowingStateLoss()
|
||||||
helperActivity?.finish()
|
helperActivity?.finish()
|
||||||
handler.removeCallbacksAndMessages(null)
|
handler.removeCallbacksAndMessages(null)
|
||||||
stopAlarm("Dismiss")
|
|
||||||
}
|
}
|
||||||
|
|
||||||
private fun startAlarm() {
|
private fun startAlarm() {
|
||||||
|
|
Loading…
Reference in a new issue