From eb5ab46001d96bced18c525e244f93fa261684eb Mon Sep 17 00:00:00 2001 From: Michael Telatynski <7t3chguy@gmail.com> Date: Tue, 9 May 2023 11:36:34 +0100 Subject: [PATCH] Use semantically correct elements for room sublist context menu --- 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 b94a4f2b0bb..5aa20058d88 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}