From 339e7dab18df52b7fb3e5a86a195eab2adafe36a Mon Sep 17 00:00:00 2001 From: Michael Telatynski <7t3chguy@gmail.com> Date: Tue, 9 May 2023 12:13:55 +0100 Subject: [PATCH] Use semantically correct elements for room sublist context menu (#10831) --- src/components/views/rooms/RoomSublist.tsx | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/components/views/rooms/RoomSublist.tsx b/src/components/views/rooms/RoomSublist.tsx index b94a4f2b0b..5aa20058d8 100644 --- a/src/components/views/rooms/RoomSublist.tsx +++ b/src/components/views/rooms/RoomSublist.tsx @@ -577,8 +577,8 @@ export default class RoomSublist extends React.Component { otherSections = (
-
-
{_t("Appearance")}
+
+ {_t("Appearance")} { > {_t("Show previews of messages")} -
+
); } @@ -606,8 +606,8 @@ export default class RoomSublist extends React.Component { onFinished={this.onCloseMenu} >
-
-
{_t("Sort by")}
+
+ {_t("Sort by")} this.onTagSortChanged(SortAlgorithm.Recent)} @@ -624,7 +624,7 @@ export default class RoomSublist extends React.Component { > {_t("A-Z")} -
+ {otherSections}