Commit bf84dd65 authored by Viktor De Pasquale's avatar Viktor De Pasquale Committed by John Wu

Added hiding bottom bar when magisk is not active

parent f575155a
...@@ -5,6 +5,8 @@ ...@@ -5,6 +5,8 @@
<data> <data>
<import type="com.topjohnwu.magisk.core.Info" />
<variable <variable
name="viewModel" name="viewModel"
type="com.topjohnwu.magisk.ui.MainViewModel" /> type="com.topjohnwu.magisk.ui.MainViewModel" />
...@@ -65,6 +67,7 @@ ...@@ -65,6 +67,7 @@
<com.google.android.material.card.MaterialCardView <com.google.android.material.card.MaterialCardView
android:id="@+id/main_bottom_bar" android:id="@+id/main_bottom_bar"
style="@style/WidgetFoundation.Card.Elevated" style="@style/WidgetFoundation.Card.Elevated"
gone="@{!Info.env.isActive}"
android:layout_width="224dp" android:layout_width="224dp"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_gravity="bottom|center_horizontal" android:layout_gravity="bottom|center_horizontal"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment