mirror of
https://github.com/topjohnwu/Magisk.git
synced 2024-12-22 07:57:39 +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:
parent
bd7f9c9e46
commit
7c8cdb4ad6
@ -39,7 +39,7 @@
|
|||||||
|
|
||||||
<com.google.android.material.floatingactionbutton.ExtendedFloatingActionButton
|
<com.google.android.material.floatingactionbutton.ExtendedFloatingActionButton
|
||||||
android:id="@+id/restart_btn"
|
android:id="@+id/restart_btn"
|
||||||
gone="@{viewModel.flashing || !viewModel.showReboot}"
|
android:visibility="gone"
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_gravity="bottom|end"
|
android:layout_gravity="bottom|end"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user