mirror of
https://github.com/lizongying/my-tv.git
synced 2026-10-26 22:26:29 +08:00
@@ -241,7 +241,7 @@ class MainActivity : FragmentActivity() {
|
|||||||
|
|
||||||
fun saveBootStartup(bootStartup: Boolean) {
|
fun saveBootStartup(bootStartup: Boolean) {
|
||||||
with(sharedPref.edit()) {
|
with(sharedPref.edit()) {
|
||||||
putBoolean(CHANNEL_NUM, channelNum)
|
putBoolean(BOOT_STARTUP, bootStartup)
|
||||||
apply()
|
apply()
|
||||||
}
|
}
|
||||||
this.bootStartup = bootStartup
|
this.bootStartup = bootStartup
|
||||||
|
|||||||
Reference in New Issue
Block a user