2
0
mirror of https://github.com/fork-maintainers/iceraven-browser synced 2024-11-15 18:12:54 +00:00

For #21787 - Update the Pocket stories toggle label and summary from homepage settings

This commit is contained in:
Alexandru2909 2022-10-19 16:26:08 +03:00 committed by mergify[bot]
parent 90960153ce
commit fe25aa8e14
3 changed files with 8 additions and 3 deletions

View File

@ -130,7 +130,7 @@ private fun recentlyVisitedButton() =
onView(allOf(withText(R.string.customize_toggle_recently_visited))) onView(allOf(withText(R.string.customize_toggle_recently_visited)))
private fun pocketButton() = private fun pocketButton() =
onView(allOf(withText(R.string.customize_toggle_pocket))) onView(allOf(withText(R.string.customize_toggle_pocket_2)))
private fun sponsoredStoriesButton() = private fun sponsoredStoriesButton() =
onView(allOf(withText(R.string.customize_toggle_pocket_sponsored))) onView(allOf(withText(R.string.customize_toggle_pocket_sponsored)))

View File

@ -436,7 +436,11 @@
a section where users see a list of tabs that they have visited in the past few days --> a section where users see a list of tabs that they have visited in the past few days -->
<string name="customize_toggle_recently_visited">Recently visited</string> <string name="customize_toggle_recently_visited">Recently visited</string>
<!-- Title for the customize home screen section with Pocket. --> <!-- Title for the customize home screen section with Pocket. -->
<string name="customize_toggle_pocket">Pocket</string> <string name="customize_toggle_pocket" moz:RemovedIn="108" tools:ignore="UnusedResources">Pocket</string>
<!-- Title for the customize home screen section with Pocket. -->
<string name="customize_toggle_pocket_2">Thought-provoking stories</string>
<!-- Summary for the customize home screen section with Pocket. -->
<string name="customize_toggle_pocket_summary">Articles powered by Pocket</string>
<!-- Title for the customize home screen section with sponsored Pocket stories. --> <!-- Title for the customize home screen section with sponsored Pocket stories. -->
<string name="customize_toggle_pocket_sponsored">Sponsored stories</string> <string name="customize_toggle_pocket_sponsored">Sponsored stories</string>
<!-- Title for the opening wallpaper settings screen --> <!-- Title for the opening wallpaper settings screen -->

View File

@ -32,7 +32,8 @@
<androidx.preference.SwitchPreference <androidx.preference.SwitchPreference
android:key="@string/pref_key_pocket_homescreen_recommendations" android:key="@string/pref_key_pocket_homescreen_recommendations"
android:title="@string/customize_toggle_pocket" android:title="@string/customize_toggle_pocket_2"
android:summary="@string/customize_toggle_pocket_summary"
app:isPreferenceVisible="false" /> app:isPreferenceVisible="false" />
<androidx.preference.CheckBoxPreference <androidx.preference.CheckBoxPreference