From 479ceabe9d064f5a7cb16d9ef93f80ff5fa9567d Mon Sep 17 00:00:00 2001 From: Milos Kozak Date: Fri, 9 Dec 2022 23:27:04 +0100 Subject: [PATCH] DanaRS: pairing dialog fix --- .../nightscout/pump/danars/dialogs/PairingProgressDialog.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pump/danars/src/main/java/info/nightscout/pump/danars/dialogs/PairingProgressDialog.kt b/pump/danars/src/main/java/info/nightscout/pump/danars/dialogs/PairingProgressDialog.kt index 8fd988a3df..51d00909eb 100644 --- a/pump/danars/src/main/java/info/nightscout/pump/danars/dialogs/PairingProgressDialog.kt +++ b/pump/danars/src/main/java/info/nightscout/pump/danars/dialogs/PairingProgressDialog.kt @@ -53,7 +53,6 @@ class PairingProgressDialog : DaggerDialogFragment() { dialog?.window?.setSoftInputMode(WindowManager.LayoutParams.SOFT_INPUT_STATE_HIDDEN) isCancelable = false dialog?.setCanceledOnTouchOutside(false) - setViews() return binding.root } @@ -84,6 +83,7 @@ class PairingProgressDialog : DaggerDialogFragment() { _binding?.ok?.visibility = View.VISIBLE } } + setViews() } override fun dismiss() {