You've already forked Magisk
mirror of
https://github.com/topjohnwu/Magisk.git
synced 2025-09-06 06:36:58 +00:00
Added back version checking (and version boxes) after transitioning homepage to MVVM
Fixed several errors caused along the way
This commit is contained in:
@@ -79,6 +79,7 @@
|
||||
android:layout_height="25dp"
|
||||
android:layout_marginStart="16dp"
|
||||
android:layout_marginEnd="16dp"
|
||||
app:tint="@{state == MagiskState.UP_TO_DATE ? @color/colorCorrect : (state == MagiskState.OBSOLETE ? @color/colorUpdate : @color/colorError)}"
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
app:layout_constraintEnd_toStartOf="@+id/status"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
@@ -86,7 +87,7 @@
|
||||
|
||||
<ProgressBar
|
||||
android:id="@+id/progress"
|
||||
gone="state != MagiskState.LOADING"
|
||||
gone="@{state != MagiskState.LOADING}"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="0dp"
|
||||
app:layout_constraintBottom_toBottomOf="@+id/status_icon"
|
||||
|
||||
@@ -23,6 +23,9 @@
|
||||
|
||||
<color name="colorInactive">#66000000</color>
|
||||
|
||||
<color name="colorCorrect">@color/green500</color>
|
||||
<color name="colorError">@color/red500</color>
|
||||
<color name="colorUpdate">@color/blue500</color>
|
||||
<!--new colors ^^-->
|
||||
|
||||
<color name="primary">#009688</color>
|
||||
|
||||
Reference in New Issue
Block a user