fix retry bug

pull/731/head v1.9.2
Li ZongYing 2 years ago
parent 39e5cc7c1f
commit 2b172ae615
  1. 4
      app/src/main/java/com/lizongying/mytv/models/TVViewModel.kt

@ -66,6 +66,10 @@ class TVViewModel(private var tv: TV) : ViewModel() {
}
fun changed(from: String) {
retryTimes = 0
authYSPRetryTimes = 0
tokenYSPRetryTimes = 0
tokenFHRetryTimes = 0
_change.value = from
}

Loading…
Cancel
Save