PfofileSwitchDialog fix
This commit is contained in:
parent
0321d4cd07
commit
6fb83d4949
2 changed files with 1 additions and 4 deletions
|
@ -145,10 +145,7 @@ class ProfileSwitchDialog : DialogFragmentWithDate() {
|
||||||
binding.percentage.value = profile.value.originalPercentage.toDouble()
|
binding.percentage.value = profile.value.originalPercentage.toDouble()
|
||||||
binding.timeshift.value = profile.value.originalTimeshift.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
|
binding.ttLayout.visibility = View.GONE
|
||||||
}
|
}
|
||||||
|
|
|
@ -77,7 +77,7 @@
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:gravity="center_horizontal"
|
android:gravity="center_horizontal"
|
||||||
android:orientation="horizontal"
|
android:orientation="horizontal"
|
||||||
android:visibility="visible">
|
android:visibility="gone">
|
||||||
|
|
||||||
<info.nightscout.androidaps.utils.ui.SingleClickButton
|
<info.nightscout.androidaps.utils.ui.SingleClickButton
|
||||||
android:id="@+id/reusebutton"
|
android:id="@+id/reusebutton"
|
||||||
|
|
Loading…
Reference in a new issue