Commit c42c4355 authored by Matthew Finkel's avatar Matthew Finkel Committed by Pier Angelo Vendrame
Browse files

[android] Modify UI/UX

Bug 40015: Modify Home menu

Bug 40016: Hide unwanted Settings

Bug 40016: Modify Default toolbar menu

Bug 40016: Add Donate settings button

Bug 40016: Move Allow Screenshots under Advanced

Bug 40016: Don't install WebCompat webext

Bug 40016: Don't onboard Search Suggestions

Bug 40094: Do not use MasterPasswordTipProvider in HomeFragment

Bug 40095: Hide "Sign in to sync" in bookmarks

Bug 40031: Hide Mozilla-specific items on About page

Bug 40063: Do not sort search engines alphabetically

Bug 40141: Hide EME site permission

Bug 40166: Hide "Normal" tab (again) and Sync tab in TabTray

Bug 40167: Hide "Save to Collection" in menu

Bug 40172: Find the Quit button

Bug 40186: Hide Credit Cards in Settings

Bug 40198: Spoof English toggle now overlaps with locale list
parent e5372bd9
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -36,7 +36,7 @@ class SessionAutocompleteProvider(

        val tabUrl = store.state.tabs
            .firstOrNull {
                !it.content.private && doesUrlStartsWithText(it.content.url, query)
                /* !it.content.private && */ doesUrlStartsWithText(it.content.url, query)
            }
            ?.content?.url
            ?: return null
+1 −1
Original line number Diff line number Diff line
@@ -59,7 +59,7 @@ class SessionSuggestionProvider(
                resultsUriFilter?.invoke(item.content.url.toUri()) != false &&
                shouldIncludeSelectedTab(state, item)
        }.forEach { item ->
            val iconRequest = icons?.loadIcon(IconRequest(url = item.content.url, waitOnNetworkLoad = false))
            val iconRequest = icons?.loadIcon(IconRequest(url = item.content.url, isPrivate = item.content.private, waitOnNetworkLoad = false))
            suggestions.add(
                AwesomeBar.Suggestion(
                    provider = this,
+1 −1
Original line number Diff line number Diff line
@@ -134,7 +134,7 @@ class BrowserFragment : BaseBrowserFragment(), UserInteractionHandler {
            view = view,
        )

        if (context.settings().shouldShowOpenInAppCfr) {
        if (false) { // context.settings().shouldShowOpenInAppCfr
            openInAppOnboardingObserver.set(
                feature = OpenInAppOnboardingObserver(
                    context = context,
+1 −1
Original line number Diff line number Diff line
@@ -65,7 +65,7 @@ class OpenInAppOnboardingObserver(
                        currentUrl = tab.content.url
                    } else {
                        // Loading state has changed
                        maybeShowOpenInAppBanner(tab.content.url, tab.content.loading)
//                      maybeShowOpenInAppBanner(tab.content.url, tab.content.loading)
                    }
                }
        }
+1 −1
Original line number Diff line number Diff line
@@ -139,7 +139,7 @@ class MenuNavigationMiddleware(
                )

                is MenuAction.Navigate.ReleaseNotes -> openToBrowser(
                    BrowserNavigationParams(url = SupportUtils.WHATS_NEW_URL),
                    BrowserNavigationParams(url = SupportUtils.getTorWhatsNewUrl()),
                )

                is MenuAction.Navigate.EditBookmark -> {
Loading