Skip to content

Commit

Permalink
fix retry bug
Browse files Browse the repository at this point in the history
  • Loading branch information
lizongying committed May 1, 2024
1 parent 39e5cc7 commit 2b172ae
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions app/src/main/java/com/lizongying/mytv/models/TVViewModel.kt
Original file line number Diff line number Diff line change
Expand Up @@ -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
}

Expand Down

0 comments on commit 2b172ae

Please sign in to comment.