Added hiding bottom bar when magisk is not active

This commit is contained in:
Viktor De Pasquale 2020-09-22 16:10:18 +02:00 committed by John Wu
parent f575155a41
commit bf84dd6518
1 changed files with 3 additions and 0 deletions

View File

@ -5,6 +5,8 @@
<data>
<import type="com.topjohnwu.magisk.core.Info" />
<variable
name="viewModel"
type="com.topjohnwu.magisk.ui.MainViewModel" />
@ -65,6 +67,7 @@
<com.google.android.material.card.MaterialCardView
android:id="@+id/main_bottom_bar"
style="@style/WidgetFoundation.Card.Elevated"
gone="@{!Info.env.isActive}"
android:layout_width="224dp"
android:layout_height="wrap_content"
android:layout_gravity="bottom|center_horizontal"