You've already forked Magisk
mirror of
https://github.com/topjohnwu/Magisk.git
synced 2025-09-06 06:36:58 +00:00
UI tweaks for pre API 21
This commit is contained in:
@@ -9,7 +9,7 @@ import com.topjohnwu.magisk.utils.set
|
||||
import org.json.JSONObject
|
||||
|
||||
enum class SafetyNetState {
|
||||
LOADING, PASS, FAILED, IDLE
|
||||
LOADING, PASS, FAILED
|
||||
}
|
||||
|
||||
data class SafetyNetResult(
|
||||
@@ -42,7 +42,7 @@ class SafetynetViewModel : BaseViewModel() {
|
||||
@get:Bindable
|
||||
val isSuccess get() = currentState == PASS
|
||||
|
||||
private var currentState = IDLE
|
||||
private var currentState = LOADING
|
||||
set(value) = set(value, field, { field = it }, BR.checking, BR.failed, BR.success)
|
||||
|
||||
init {
|
||||
|
||||
Reference in New Issue
Block a user