mirror of
https://github.com/fork-maintainers/iceraven-browser
synced 2024-11-19 09:25:34 +00:00
[fenix] For https://github.com/mozilla-mobile/fenix/issues/23498 add content description for wallpapers
This commit is contained in:
parent
eb9fc799ee
commit
1931e5dd64
@ -765,6 +765,8 @@ class HomeFragment : Fragment() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (shouldEnableWallpaper() && context.settings().wallpapersSwitchedByLogoTap) {
|
if (shouldEnableWallpaper() && context.settings().wallpapersSwitchedByLogoTap) {
|
||||||
|
binding.wordmark.contentDescription =
|
||||||
|
context.getString(R.string.wallpaper_logo_content_description)
|
||||||
binding.wordmark.setOnClickListener {
|
binding.wordmark.setOnClickListener {
|
||||||
val manager = requireComponents.wallpaperManager
|
val manager = requireComponents.wallpaperManager
|
||||||
val newWallpaper = manager.switchToNextWallpaper()
|
val newWallpaper = manager.switchToNextWallpaper()
|
||||||
|
@ -468,6 +468,8 @@
|
|||||||
<string name="wallpaper_tap_to_change_switch_label">Tap logo to change wallpaper</string>
|
<string name="wallpaper_tap_to_change_switch_label">Tap logo to change wallpaper</string>
|
||||||
<!-- Description for switch which toggles the "tap-to-switch" behavior on home screen logo -->
|
<!-- 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">Cycle through and update image without leaving the homepage.</string>
|
||||||
|
<!-- Content description for switch which toggles the "tap-to-switch" behavior on home screen logo -->
|
||||||
|
<string name="wallpaper_logo_content_description">Firefox logo - change the wallpaper, button</string>
|
||||||
|
|
||||||
<!-- Add-on Installation from AMO-->
|
<!-- Add-on Installation from AMO-->
|
||||||
<!-- Error displayed when user attempts to install an add-on from AMO (addons.mozilla.org) that is not supported -->
|
<!-- Error displayed when user attempts to install an add-on from AMO (addons.mozilla.org) that is not supported -->
|
||||||
|
Loading…
Reference in New Issue
Block a user