DanaRS: pairing dialog fix

This commit is contained in:
Milos Kozak 2022-12-09 23:27:04 +01:00
parent 742e02ef3c
commit 479ceabe9d

View file

@ -53,7 +53,6 @@ class PairingProgressDialog : DaggerDialogFragment() {
dialog?.window?.setSoftInputMode(WindowManager.LayoutParams.SOFT_INPUT_STATE_HIDDEN) dialog?.window?.setSoftInputMode(WindowManager.LayoutParams.SOFT_INPUT_STATE_HIDDEN)
isCancelable = false isCancelable = false
dialog?.setCanceledOnTouchOutside(false) dialog?.setCanceledOnTouchOutside(false)
setViews()
return binding.root return binding.root
} }
@ -84,6 +83,7 @@ class PairingProgressDialog : DaggerDialogFragment() {
_binding?.ok?.visibility = View.VISIBLE _binding?.ok?.visibility = View.VISIBLE
} }
} }
setViews()
} }
override fun dismiss() { override fun dismiss() {