mirror of
https://github.com/lizongying/my-tv.git
synced 2026-10-26 14:16:29 +08:00
bootStartup->false
This commit is contained in:
@@ -47,7 +47,7 @@ class MainActivity : FragmentActivity() {
|
||||
lateinit var sharedPref: SharedPreferences
|
||||
private var channelReversal = false
|
||||
private var channelNum = true
|
||||
private var bootStartup = true
|
||||
private var bootStartup = false
|
||||
|
||||
init {
|
||||
lifecycleScope.launch(Dispatchers.IO) {
|
||||
|
||||
@@ -167,6 +167,7 @@ class MainFragment : Fragment(), CardAdapter.ItemListener {
|
||||
)
|
||||
} else {
|
||||
if (check(tvViewModel)) {
|
||||
// TODO lastVideoUrl
|
||||
(activity as? MainActivity)?.play(tvViewModel)
|
||||
(activity as? MainActivity)?.showInfoFragment(tvViewModel)
|
||||
setPosition(
|
||||
|
||||
Reference in New Issue
Block a user