mirror of
https://github.com/lizongying/my-tv.git
synced 2026-10-26 22:26:29 +08:00
support 4.2
This commit is contained in:
@@ -78,7 +78,7 @@ class MainFragment : BrowseSupportFragment() {
|
||||
if (tvViewModel.change.value != null) {
|
||||
val title = tvViewModel.title.value
|
||||
Log.i(TAG, "switch $title")
|
||||
if (tvViewModel.ysp() != null) {
|
||||
if (tvViewModel.pid.value != null) {
|
||||
Log.i(TAG, "request $title")
|
||||
lifecycleScope.launch(Dispatchers.IO) {
|
||||
tvViewModel.let { request?.fetchData(it) }
|
||||
|
||||
Reference in New Issue
Block a user