diff --git a/ElementX/Resources/Localizations/en.lproj/Localizable.strings b/ElementX/Resources/Localizations/en.lproj/Localizable.strings index 25ebc0e93..02f55732e 100644 --- a/ElementX/Resources/Localizations/en.lproj/Localizable.strings +++ b/ElementX/Resources/Localizations/en.lproj/Localizable.strings @@ -540,6 +540,7 @@ "screen_room_timeline_upgraded_room_action" = "See old messages"; "screen_room_timeline_upgraded_room_message" = "This room is a continuation of another room"; "screen_room_timeline_reactions_show_reactions_summary" = "Show reactions summary"; +"screen_roomlist_remove_all_filters" = "Remove all filters"; "screen_roomlist_tombstoned_room_description" = "This room has been upgraded"; "screen_security_and_privacy_add_room_address_action" = "Add room address"; "screen_security_and_privacy_ask_to_join_option_description" = "Anyone can ask to join the room but an administrator or moderator will have to accept the request."; diff --git a/ElementX/Sources/Generated/Strings.swift b/ElementX/Sources/Generated/Strings.swift index 96dc68665..e4af93420 100644 --- a/ElementX/Sources/Generated/Strings.swift +++ b/ElementX/Sources/Generated/Strings.swift @@ -2464,6 +2464,8 @@ internal enum L10n { internal static var screenRoomlistMarkAsRead: String { return L10n.tr("Localizable", "screen_roomlist_mark_as_read") } /// Mark as unread internal static var screenRoomlistMarkAsUnread: String { return L10n.tr("Localizable", "screen_roomlist_mark_as_unread") } + /// Remove all filters + internal static var screenRoomlistRemoveAllFilters: String { return L10n.tr("Localizable", "screen_roomlist_remove_all_filters") } /// This room has been upgraded internal static var screenRoomlistTombstonedRoomDescription: String { return L10n.tr("Localizable", "screen_roomlist_tombstoned_room_description") } /// Add room address diff --git a/ElementX/Sources/Screens/HomeScreen/View/Filters/RoomListFiltersView.swift b/ElementX/Sources/Screens/HomeScreen/View/Filters/RoomListFiltersView.swift index 925a9b75f..5f11e515a 100644 --- a/ElementX/Sources/Screens/HomeScreen/View/Filters/RoomListFiltersView.swift +++ b/ElementX/Sources/Screens/HomeScreen/View/Filters/RoomListFiltersView.swift @@ -64,6 +64,7 @@ struct RoomListFiltersView: View { .font(.system(size: 24)) .foregroundColor(.compound.bgActionPrimaryRest) }) + .accessibilityLabel(L10n.screenRoomlistRemoveAllFilters) } private func getBinding(for filter: RoomListFilter, scrollViewProxy: ScrollViewProxy) -> Binding {