correct???

This commit is contained in:
aayush262 2023-12-12 15:30:31 +05:30
parent 5c4e9d7696
commit cc98e2f307
6 changed files with 17 additions and 12 deletions

View file

@ -75,9 +75,9 @@ class AnimePageAdapter : RecyclerView.Adapter<AnimePageAdapter.AnimePageViewHold
textInputLayout.boxBackgroundColor = (color and 0x00FFFFFF) or 0x28000000.toInt()
materialCardView.setCardBackgroundColor((color and 0x00FFFFFF) or 0x28000000.toInt())
}
val settings = loadData("incognito") ?: false
if(settings) {
val incognito = currContext()?.getSharedPreferences("Dantotsu", Context.MODE_PRIVATE)
?.getBoolean("incognito", false) ?: false
if(incognito) {
binding.incognitoTextView.visibility = View.VISIBLE
binding.incognitoView.visibility = View.VISIBLE
}