PfofileSwitchDialog fix

This commit is contained in:
Milos Kozak 2021-11-05 09:53:59 +01:00
parent 0321d4cd07
commit 6fb83d4949
2 changed files with 1 additions and 4 deletions

View file

@ -145,10 +145,7 @@ class ProfileSwitchDialog : DialogFragmentWithDate() {
binding.percentage.value = profile.value.originalPercentage.toDouble()
binding.timeshift.value = profile.value.originalTimeshift.toDouble()
}
} else {
binding.reuselayout.visibility = View.GONE
}
else binding.reuselayout.visibility = View.GONE
}
binding.ttLayout.visibility = View.GONE
}

View file

@ -77,7 +77,7 @@
android:layout_height="wrap_content"
android:gravity="center_horizontal"
android:orientation="horizontal"
android:visibility="visible">
android:visibility="gone">
<info.nightscout.androidaps.utils.ui.SingleClickButton
android:id="@+id/reusebutton"