Set default visibility of restart button to GONE

This fixes the issue that button still shows when installation fails.
This commit is contained in:
Wang Han 2024-07-01 22:58:38 +08:00 committed by John Wu
parent bd7f9c9e46
commit 7c8cdb4ad6

View File

@ -39,7 +39,7 @@
<com.google.android.material.floatingactionbutton.ExtendedFloatingActionButton
android:id="@+id/restart_btn"
gone="@{viewModel.flashing || !viewModel.showReboot}"
android:visibility="gone"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="bottom|end"