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
commit 426839c747
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 2 deletions

View File

@ -241,7 +241,7 @@ class MainActivity : FragmentActivity() {
fun saveBootStartup(bootStartup: Boolean) {
with(sharedPref.edit()) {
putBoolean(CHANNEL_NUM, channelNum)
putBoolean(BOOT_STARTUP, bootStartup)
apply()
}
this.bootStartup = bootStartup
@ -537,4 +537,4 @@ class MainActivity : FragmentActivity() {
private const val CHANNEL_NUM = "channel_num"
const val BOOT_STARTUP = "boot_startup"
}
}
}