Reset SafetyNet status on refresh
This commit is contained in:
parent
d5371f752c
commit
62db65bf18
@ -163,6 +163,9 @@ class HomeViewModel(
|
|||||||
state = State.LOADING
|
state = State.LOADING
|
||||||
magiskState.value = MagiskState.LOADING
|
magiskState.value = MagiskState.LOADING
|
||||||
managerState.value = MagiskState.LOADING
|
managerState.value = MagiskState.LOADING
|
||||||
|
ctsState.value = SafetyNetState.IDLE
|
||||||
|
basicIntegrityState.value = SafetyNetState.IDLE
|
||||||
|
safetyNetTitle.value = R.string.safetyNet_check_text
|
||||||
Event.reset(this)
|
Event.reset(this)
|
||||||
Config.remoteMagiskVersionString = null
|
Config.remoteMagiskVersionString = null
|
||||||
Config.remoteMagiskVersionCode = -1
|
Config.remoteMagiskVersionCode = -1
|
||||||
|
Loading…
Reference in New Issue
Block a user