Skip to content

Commit

Permalink
fix 13
Browse files Browse the repository at this point in the history
  • Loading branch information
lizongying committed Jan 8, 2024
1 parent c10d8b6 commit d0c7627
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/src/main/java/com/lizongying/mytv/MainFragment.kt
Original file line number Diff line number Diff line change
Expand Up @@ -78,8 +78,8 @@ class MainFragment : BrowseSupportFragment() {
if (tvViewModel.change.value != null) {
val title = tvViewModel.title.value
Log.i(TAG, "switch $title")
if (tvViewModel.pid.value != null) {
Log.i(TAG, "request $title")
if (tvViewModel.pid.value != "") {
Log.i(TAG, "request $title ${tvViewModel.pid.value}")
lifecycleScope.launch(Dispatchers.IO) {
tvViewModel.let { request.fetchData(it) }
}
Expand Down

0 comments on commit d0c7627

Please sign in to comment.