Dan Ballard pushed to branch tor-browser-153.4.0esr-16.0-1 at The Tor Project / Applications / Tor Browser Commits: 73734c47 by Dan Ballard at 2026-09-23T11:02:38-07:00 fixup! [android] Bug 45217: Implement YEC 2026 Takeover for Android Stable Change YEC26 URL and add locale - - - - - 1 changed file: - mobile/android/fenix/app/src/main/java/org/mozilla/fenix/home/HomeFragment.kt Changes: ===================================== mobile/android/fenix/app/src/main/java/org/mozilla/fenix/home/HomeFragment.kt ===================================== @@ -189,6 +189,7 @@ import org.mozilla.fenix.ext.openToBrowser import org.mozilla.fenix.tor.TorCampaignViewModel import org.mozilla.fenix.tor.TorHomePage import org.mozilla.fenix.tor.UrlQuickLoadViewModel +import java.util.Locale /** * The home screen. @@ -600,10 +601,12 @@ class HomeFragment : Fragment(), UserInteractionHandler { innerPadding = innerPadding, shouldInitiallyShowPromo = torCampaignViewModel.shouldInitiallyShowPromo, onClicked = { + val locale = Locale.getDefault().getLanguage() + var url = "https://www.torproject.org/donate/yec2026-tor-browser-android-${locale}" findNavController().openToBrowser() requireContext().components.useCases.fenixBrowserUseCases.loadUrlOrSearch( // from https://gitlab.torproject.org/tpo/applications/tor-browser/-/work_items/4521... - "https://donate.torproject.org/yec2026-tor-browser-android", + url, newTab = true, ) }, View it on GitLab: https://gitlab.torproject.org/tpo/applications/tor-browser/-/commit/73734c47... -- View it on GitLab: https://gitlab.torproject.org/tpo/applications/tor-browser/-/commit/73734c47... You're receiving this email because of your account on gitlab.torproject.org. Manage all notifications: https://gitlab.torproject.org/-/profile/notifications | Help: https://gitlab.torproject.org/help
participants (1)
-
Dan Ballard (@dan)