mirror of
https://github.com/rebelonion/Dantotsu.git
synced 2026-01-27 13:41:02 +00:00
Better incognito (visually)
toggle for navbar in list
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user