Matthew Finkel pushed to branch tor-browser-86.0.0b2-10.5-1 at The Tor Project / Applications / fenix
Commits: 90a15d00 by Matthew Finkel at 2021-02-17T23:39:48+00:00 squash! Modify UI/UX
Bug 40144: Hide Download Manager
- - - - -
2 changed files:
- app/src/main/java/org/mozilla/fenix/browser/BaseBrowserFragment.kt - app/src/main/res/xml/preferences.xml
Changes:
===================================== app/src/main/java/org/mozilla/fenix/browser/BaseBrowserFragment.kt ===================================== @@ -439,7 +439,7 @@ abstract class BaseBrowserFragment : Fragment(), UserInteractionHandler, shouldForwardToThirdParties = { PreferenceManager.getDefaultSharedPreferences(context).getBoolean( context.getPreferenceKey(R.string.pref_key_external_download_manager), false - ) + ) && false }, promptsStyling = DownloadsFeature.PromptsStyling( gravity = Gravity.BOTTOM,
===================================== app/src/main/res/xml/preferences.xml ===================================== @@ -172,7 +172,8 @@ android:defaultValue="false" android:icon="@drawable/ic_download" android:key="@string/pref_key_external_download_manager" - android:title="@string/preferences_external_download_manager"/> + android:title="@string/preferences_external_download_manager" + app:isPreferenceVisible="false"/>
<androidx.preference.SwitchPreference android:defaultValue="true"
View it on GitLab: https://gitlab.torproject.org/tpo/applications/fenix/-/commit/90a15d00d23892...