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