Skip to content

Commit 4275fab

Browse files
authored
Set default visibility of restart button to GONE
This fixes the issue that button still shows when installation fails.
1 parent 47e918b commit 4275fab

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/src/main/res/layout/fragment_flash_md2.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939

4040
<com.google.android.material.floatingactionbutton.ExtendedFloatingActionButton
4141
android:id="@+id/restart_btn"
42-
gone="@{viewModel.flashing || !viewModel.showReboot}"
42+
android:visibility="gone"
4343
android:layout_width="wrap_content"
4444
android:layout_height="wrap_content"
4545
android:layout_gravity="bottom|end"

0 commit comments

Comments
 (0)