AuthViewModel: Search in custom tab by default in anonymous accounts

Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
This commit is contained in:
Aayush Gupta
2023-05-04 12:10:24 +05:30
parent 6b2f22350c
commit e116839d94

View File

@@ -88,6 +88,12 @@ class AuthViewModel(application: Application) : BaseAndroidViewModel(application
Preferences.PREFERENCE_INSECURE_ANONYMOUS Preferences.PREFERENCE_INSECURE_ANONYMOUS
) )
Preferences.putBoolean(
getApplication(),
Preferences.PREFERENCE_ADVANCED_SEARCH_IN_CTT,
true
)
if (insecure) { if (insecure) {
buildInSecureAnonymousAuthData() buildInSecureAnonymousAuthData()
} else { } else {