AuthViewModel: Search in custom tab by default in anonymous accounts
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
This commit is contained in:
@@ -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 {
|
||||||
|
|||||||
Reference in New Issue
Block a user