[tbb-commits] [Git][tpo/applications/firefox-android][firefox-android-115.2.1-13.0-1] fixup! Modify UI/UX

Dan Ballard (@dan) git at gitlab.torproject.org
Mon Sep 25 23:52:51 UTC 2023



Dan Ballard pushed to branch firefox-android-115.2.1-13.0-1 at The Tor Project / Applications / firefox-android


Commits:
f2fc794e by clairehurst at 2023-09-25T12:44:59-06:00
fixup! Modify UI/UX

- - - - -


2 changed files:

- fenix/app/src/main/java/org/mozilla/fenix/settings/SupportUtils.kt
- fenix/app/src/test/java/org/mozilla/fenix/settings/SupportUtilsTest.kt


Changes:

=====================================
fenix/app/src/main/java/org/mozilla/fenix/settings/SupportUtils.kt
=====================================
@@ -38,10 +38,9 @@ object SupportUtils {
     const val MEITUAN_URL = "https://tb.j5k6.com/6ZSOp"
     const val GOOGLE_US_URL = "https://www.google.com/webhp?client=firefox-b-1-m&channel=ts"
     const val GOOGLE_XX_URL = "https://www.google.com/webhp?client=firefox-b-m&channel=ts"
-    const val WHATS_NEW_URL = "https://www.mozilla.org/firefox/android/notes"
+    const val WHATS_NEW_URL = "https://www.torproject.org/releases/"
     const val DONATE_URL = "https://donate.torproject.org/"
     const val TB_MANUAL_URL = "https://tb-manual.torproject.org/mobile-tor"
-    const val TOR_RELEASES = "https://www.torproject.org/releases/"
 
     enum class SumoTopic(internal val topicStr: String) {
         HELP("faq-android"),
@@ -101,20 +100,12 @@ object SupportUtils {
         return TB_MANUAL_URL
     }
 
-    fun getTorReleasePageUrl(): String {
-        return TOR_RELEASES
-    }
-
     fun getMozillaPageUrl(page: MozillaPage, locale: Locale = Locale.getDefault()): String {
         val path = page.path
         val langTag = getLanguageTag(locale)
         return "https://www.mozilla.org/$langTag/$path"
     }
 
-    fun getWhatsNewUrl(@Suppress("UNUSED_PARAMETER") context: Context): String {
-        return getTorReleasePageUrl()
-    }
-
     fun createCustomTabIntent(context: Context, url: String): Intent = CustomTabsIntent.Builder()
         .setInstantAppsEnabled(false)
         .setDefaultColorSchemeParams(


=====================================
fenix/app/src/test/java/org/mozilla/fenix/settings/SupportUtilsTest.kt
=====================================
@@ -63,7 +63,7 @@ class SupportUtilsTest {
         )
         assertEquals(
             "https://www.torproject.org/releases/",
-            SupportUtils.getTorReleasePageUrl()
+            SupportUtils.WHATS_NEW_URL
         )
     }
 



View it on GitLab: https://gitlab.torproject.org/tpo/applications/firefox-android/-/commit/f2fc794e76dd8e71ac2085ce20acf352119cfed0

-- 
View it on GitLab: https://gitlab.torproject.org/tpo/applications/firefox-android/-/commit/f2fc794e76dd8e71ac2085ce20acf352119cfed0
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/tbb-commits/attachments/20230925/f331abce/attachment-0001.htm>


More information about the tbb-commits mailing list