mirror of
https://github.com/lizongying/my-tv.git
synced 2026-10-26 22:26:29 +08:00
fix retry bug
This commit is contained in:
@@ -66,6 +66,10 @@ class TVViewModel(private var tv: TV) : ViewModel() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
fun changed(from: String) {
|
fun changed(from: String) {
|
||||||
|
retryTimes = 0
|
||||||
|
authYSPRetryTimes = 0
|
||||||
|
tokenYSPRetryTimes = 0
|
||||||
|
tokenFHRetryTimes = 0
|
||||||
_change.value = from
|
_change.value = from
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user