Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Gaba
fenix
Commits
04dd3fd1
Unverified
Commit
04dd3fd1
authored
Aug 02, 2020
by
Matthew Finkel
Browse files
Bug 40016: Hide unwanted Settings
parent
843aa518
Changes
3
Hide whitespace changes
Inline
Side-by-side
app/src/main/java/org/mozilla/fenix/settings/account/AccountUiView.kt
View file @
04dd3fd1
...
...
@@ -86,7 +86,7 @@ class AccountUiView(
// Signed-out.
}
else
{
preferenceSignIn
.
isVisible
=
tru
e
preferenceSignIn
.
isVisible
=
fals
e
preferenceFirefoxAccount
.
isVisible
=
false
preferenceFirefoxAccountAuthError
.
isVisible
=
false
accountPreferenceCategory
.
isVisible
=
false
...
...
app/src/main/res/xml/logins_preferences.xml
View file @
04dd3fd1
...
...
@@ -14,6 +14,7 @@
android:title=
"@string/preferences_passwords_autofill"
/>
<Preference
android:key=
"@string/pref_key_password_sync_logins"
app:isPreferenceVisible=
"false"
android:summary=
"@string/preferences_passwords_sync_logins_off"
android:title=
"@string/preferences_passwords_sync_logins"
/>
<Preference
...
...
app/src/main/res/xml/preferences.xml
View file @
04dd3fd1
...
...
@@ -12,6 +12,7 @@
android:key=
"@string/pref_key_sign_in"
android:layout=
"@layout/sign_in_preference"
android:summary=
"@string/preferences_sign_in_description"
app:isPreferenceVisible=
"false"
android:title=
"@string/preferences_sync"
/>
<androidx.preference.PreferenceCategory
...
...
@@ -98,6 +99,7 @@
<androidx.preference.Preference
android:icon=
"@drawable/ic_tracking_protection_enabled"
android:key=
"@string/pref_key_tracking_protection_settings"
app:isPreferenceVisible=
"false"
android:title=
"@string/preference_enhanced_tracking_protection"
/>
<androidx.preference.Preference
...
...
@@ -123,6 +125,7 @@
<androidx.preference.Preference
android:icon=
"@drawable/ic_data_collection"
android:key=
"@string/pref_key_data_choices"
app:isPreferenceVisible=
"false"
android:title=
"@string/preferences_data_collection"
/>
</androidx.preference.PreferenceCategory>
...
...
@@ -141,6 +144,7 @@
android:defaultValue=
"false"
android:icon=
"@drawable/ic_open_in_app"
android:key=
"@string/pref_key_open_links_in_external_app"
app:isPreferenceVisible=
"false"
android:title=
"@string/preferences_open_links_in_apps"
/>
<androidx.preference.SwitchPreference
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment