Skip to content

Commit

Permalink
bootStartup->false
Browse files Browse the repository at this point in the history
  • Loading branch information
lizongying committed Mar 5, 2024
1 parent 46b4df1 commit e2145f8
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions app/src/main/java/com/lizongying/mytv/SP.kt
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,7 @@ object SP {
set(value) = sp.edit().putBoolean(KEY_CHANNEL_NUM, value).apply()

var bootStartup: Boolean
// TODO It‘s more friendly to change the default value to false
get() = sp.getBoolean(KEY_BOOT_STARTUP, true)
get() = sp.getBoolean(KEY_BOOT_STARTUP, false)
set(value) = sp.edit().putBoolean(KEY_BOOT_STARTUP, value).apply()

var itemPosition: Int
Expand Down

0 comments on commit e2145f8

Please sign in to comment.