pull/304/head v1.3.3
Li ZongYing 2 years ago
parent c10d8b688f
commit d0c7627e35
  1. 4
      app/src/main/java/com/lizongying/mytv/MainFragment.kt

@ -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) }
}

Loading…
Cancel
Save