incognito view fix (#89)

* auto pip

* undo
This commit is contained in:
aayush262 2023-12-20 03:42:15 +05:30 committed by GitHub
parent 11d04ecb58
commit 0bacfb8494
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
7 changed files with 21 additions and 37 deletions

View file

@ -119,7 +119,9 @@ class HomeFragment : Fragment() {
?.getBoolean("incognito", false) ?: false
if(incognito) {
binding.incognitoTextView.visibility = View.VISIBLE
binding.incognitoView.visibility = View.VISIBLE
if (!uiSettings.immersiveMode) {
binding.root.fitsSystemWindows = true
}
}
binding.homeUserAvatarContainer.setSafeOnClickListener {
val dialogFragment =