update SettingsDialogFragment.kt

This commit is contained in:
sadmansaif017@gmail.com
2024-01-04 23:10:42 +06:00
parent 5d0f76210b
commit ac4f9836e8

View File

@@ -85,10 +85,10 @@ class SettingsDialogFragment() : BottomSheetDialogFragment() {
}
binding.settingsIncognito.isChecked =
context?.getSharedPreferences("Dantotsu", Context.MODE_PRIVATE).getBoolean(
"incognito",
false
)
context?.getSharedPreferences("Dantotsu", Context.MODE_PRIVATE)?.getBoolean(
"incognito",
false
) ?: false
var incognito = context?.getSharedPreferences("Dantotsu", Context.MODE_PRIVATE)
?.getBoolean(