mirror of
https://github.com/topjohnwu/Magisk.git
synced 2025-08-14 02:57:25 +00:00
Set default visibility of restart button to GONE
This fixes the issue that button still shows when installation fails.
This commit is contained in:
@@ -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"
|
||||
|
Reference in New Issue
Block a user