Fixed showing magisk version when not installed

This commit is contained in:
Viktor De Pasquale 2019-10-10 16:51:20 +02:00
parent 4292ddd0ae
commit af1f5d5ab2

View File

@ -439,6 +439,7 @@
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:gravity="center" android:gravity="center"
gone="@{Info.magiskVersionCode < 0}"
android:text="@{String.format(`%s (%s)`, Info.magiskVersionString, Info.magiskVersionCode)}" android:text="@{String.format(`%s (%s)`, Info.magiskVersionString, Info.magiskVersionCode)}"
android:textAppearance="?appearanceTextCaptionVariant" android:textAppearance="?appearanceTextCaptionVariant"
tools:text="19.5 (12345)" /> tools:text="19.5 (12345)" />