cleanup
This commit is contained in:
parent
0ebd067bc2
commit
73be639397
10 changed files with 40 additions and 28 deletions
|
@ -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) }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue