[fenix] For https://github.com/mozilla-mobile/fenix/issues/23679 Update the wallpaper settings switch text

pull/600/head
Arturo Mejia 3 years ago committed by mergify[bot]
parent a19e0b5701
commit e52e99efae

@ -254,7 +254,7 @@ private fun WallpaperLogoSwitch(
modifier = Modifier.fillMaxWidth()
) {
Text(
text = stringResource(R.string.wallpaper_tap_to_change_switch_label),
text = stringResource(R.string.wallpaper_tap_to_change_switch_label_1),
color = FirefoxTheme.colors.textPrimary,
fontSize = 18.sp,
modifier = Modifier.padding(start = 4.dp)
@ -269,14 +269,6 @@ private fun WallpaperLogoSwitch(
)
)
}
Text(
text = stringResource(R.string.wallpaper_tap_to_change_switch_description),
color = FirefoxTheme.colors.textDisabled,
fontSize = 12.sp,
fontFamily = FontFamily(Font(R.font.metropolis_semibold)),
modifier = Modifier.padding(start = 8.dp, end = 42.dp, top = 16.dp)
)
}
}

@ -402,9 +402,11 @@
<!-- Snackbar label for action to view selected wallpaper -->
<string name="wallpaper_updated_snackbar_action">View</string>
<!-- Label for switch which toggles the "tap-to-switch" behavior on home screen logo -->
<string name="wallpaper_tap_to_change_switch_label">Tap logo to change wallpaper</string>
<string name="wallpaper_tap_to_change_switch_label" moz:removedIn="99" tools:ignore="UnusedResources">Tap logo to change wallpaper</string>
<!-- Label for switch which toggles the "tap-to-switch" behavior on home screen logo -->
<string name="wallpaper_tap_to_change_switch_label_1">Change wallpaper by tapping Firefox homepage logo</string>
<!-- Description for switch which toggles the "tap-to-switch" behavior on home screen logo -->
<string name="wallpaper_tap_to_change_switch_description">Cycle through and update image without leaving the homepage.</string>
<string name="wallpaper_tap_to_change_switch_description" moz:removedIn="99" tools:ignore="UnusedResources">Cycle through and update image without leaving the homepage.</string>
<!-- This is the accessibility content description for the wallpapers functionality. Users are
able to tap on the app logo in the home screen and can switch to different wallpapers by tapping. -->
<string name="wallpaper_logo_content_description">Firefox logo - change the wallpaper, button</string>

Loading…
Cancel
Save