From 2b71bfdeb078941345c084ced6ee33da8f572fad Mon Sep 17 00:00:00 2001 From: Milos Kozak Date: Sun, 31 Oct 2021 17:24:15 +0100 Subject: [PATCH] hide button without active profile --- .../info/nightscout/androidaps/dialogs/ProfileSwitchDialog.kt | 1 + 1 file changed, 1 insertion(+) diff --git a/app/src/main/java/info/nightscout/androidaps/dialogs/ProfileSwitchDialog.kt b/app/src/main/java/info/nightscout/androidaps/dialogs/ProfileSwitchDialog.kt index 1f0dc67dcd..5e892563b1 100644 --- a/app/src/main/java/info/nightscout/androidaps/dialogs/ProfileSwitchDialog.kt +++ b/app/src/main/java/info/nightscout/androidaps/dialogs/ProfileSwitchDialog.kt @@ -137,6 +137,7 @@ class ProfileSwitchDialog : DialogFragmentWithDate() { } else { binding.reuselayout.visibility = View.GONE } + else binding.reuselayout.visibility = View.GONE } binding.ttLayout.visibility = View.GONE }