Better incognito (visually)
toggle for navbar in list
This commit is contained in:
parent
b180625636
commit
5c4e9d7696
18 changed files with 125 additions and 30 deletions
|
@ -408,6 +408,8 @@ class SettingsActivity : AppCompatActivity(), SimpleDialog.OnDialogResultListen
|
|||
binding.settingsIncognito.setOnCheckedChangeListener { _, isChecked ->
|
||||
getSharedPreferences("Dantotsu", Context.MODE_PRIVATE).edit()
|
||||
.putBoolean("incognito", isChecked).apply()
|
||||
saveData("incognito", isChecked)
|
||||
restartApp()
|
||||
}
|
||||
|
||||
var previousStart: View = when (uiSettings.defaultStartUpTab) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue