mirror of
https://github.com/rebelonion/Dantotsu.git
synced 2026-01-25 19:51:03 +00:00
cleanup
This commit is contained in:
@@ -61,7 +61,8 @@ class SearchAdapter(private val activity: SearchActivity) :
|
||||
|
||||
binding.searchBar.hint = activity.result.type
|
||||
if (currContext()?.getSharedPreferences("Dantotsu", Context.MODE_PRIVATE)
|
||||
?.getBoolean("incognito", false ) == true){
|
||||
?.getBoolean("incognito", false) == true
|
||||
) {
|
||||
val startIconDrawableRes = R.drawable.ic_incognito_24
|
||||
val startIconDrawable: Drawable? =
|
||||
context?.let { AppCompatResources.getDrawable(it, startIconDrawableRes) }
|
||||
|
||||
Reference in New Issue
Block a user