Merge pull request #425 from DavidDengHui/patch-1

Fix MainActivity.kt
This commit is contained in:
李宗英
2024-02-16 21:59:33 +08:00
committed by GitHub
@@ -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