1
0
Fork 0

For #10705: Update copy of auto font sizing preference.

master
mcarare 2020-05-25 15:06:54 +03:00 committed by Jonathan Almeida
parent a62f4b2caa
commit 44d9dc9237
3 changed files with 4 additions and 4 deletions

View File

@ -77,7 +77,7 @@ class SettingsSubMenuAccessibilityRobot {
val device = UiDevice.getInstance(InstrumentationRegistry.getInstrumentation())
private fun assertAutomaticFontSizingMenuItems() {
onView(withText("Automatic Font Sizing"))
onView(withText("Automatic font sizing"))
.check(matches(withEffectiveVisibility(Visibility.VISIBLE)))
val strFont = "Font size will match your Android settings. Disable to manage font size here."
onView(withText(strFont))
@ -86,7 +86,7 @@ private fun assertAutomaticFontSizingMenuItems() {
private fun toggleFontSizingSwitch() {
// Toggle font size to off
onView(withText("Automatic Font Sizing"))
onView(withText("Automatic font sizing"))
.check(matches(withEffectiveVisibility(Visibility.VISIBLE)))
.perform(click())
}

View File

@ -797,7 +797,7 @@
<string name="preference_accessibility_font_size_title">Font Size</string>
<!-- Title for Accessibility Text Automatic Size Scaling Preference -->
<string name="preference_accessibility_auto_size">Automatic Font Sizing</string>
<string name="preference_accessibility_auto_size_2">Automatic font sizing</string>
<!-- Summary for Accessibility Text Automatic Size Scaling Preference -->
<string name="preference_accessibility_auto_size_summary">Font size will match your Android settings. Disable to manage font size here.</string>

View File

@ -8,7 +8,7 @@
android:defaultValue="true"
android:key="@string/pref_key_accessibility_auto_size"
android:summary="@string/preference_accessibility_auto_size_summary"
android:title="@string/preference_accessibility_auto_size"
android:title="@string/preference_accessibility_auto_size_2"
app:iconSpaceReserved="false" />
<!-- Custom Preference that scales from 50-200% by steps of 5 represented by 0-30 in steps of 1-->
<org.mozilla.fenix.settings.TextPercentageSeekBarPreference