[tor-commits] [Git][tpo/applications/fenix][tor-browser-86.0.0b2-10.5-1] squash! Modify UI/UX

Matthew Finkel gitlab at torproject.org
Wed Feb 17 23:42:03 UTC 2021



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/90a15d00d2389268e82fffc8e472fe480de65234

-- 
View it on GitLab: https://gitlab.torproject.org/tpo/applications/fenix/-/commit/90a15d00d2389268e82fffc8e472fe480de65234
You're receiving this email because of your account on gitlab.torproject.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.torproject.org/pipermail/tor-commits/attachments/20210217/5e62ff7c/attachment-0001.htm>


More information about the tor-commits mailing list