toggle option to setting
This commit is contained in:
parent
594fa4daa9
commit
6d05a42168
1 changed files with 2 additions and 1 deletions
|
@ -401,7 +401,8 @@ OS Version: $CODENAME $RELEASE ($SDK_INT)
|
|||
(binding.settingsLogo.drawable as Animatable).start()
|
||||
if (cursedCounter % 7 == 0){
|
||||
snackString("youwu have been cuwsed :pwayge:")
|
||||
getSharedPreferences("Dantotsu", Context.MODE_PRIVATE).edit().putBoolean("use_cursed_lang", true).apply()
|
||||
getSharedPreferences("Dantotsu", Context.MODE_PRIVATE).edit().putBoolean("use_cursed_lang",
|
||||
getSharedPreferences("Dantotsu", Context.MODE_PRIVATE).getBoolean("use_cursed_lang", false).not()).apply()
|
||||
} else{
|
||||
snackString(array[(Math.random() * array.size).toInt()], this)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue