fix: use Icons.Setting (singular) - folds v2.6.2 has no Icons.Settings

Icons.Settings is undefined in folds v2.6.2; only Icons.Setting exists.
This caused TypeError: i is not a function when rendering m.room.join_rules
or m.room.guest_access state events in the room timeline, crashing DMs with
those events visible in the initial view.
This commit is contained in:
Lotus Bot
2026-05-22 02:23:17 -04:00
parent a5e5b3c413
commit b6e1a0eea9
+2 -2
View File
@@ -1694,7 +1694,7 @@ export function RoomTimeline({ room, eventId, roomInputRef, editor }: RoomTimeli
<EventContent
messageLayout={messageLayout}
time={timeJSX}
iconSrc={Icons.Settings}
iconSrc={Icons.Setting}
content={
<Box grow="Yes" direction="Column">
<Text size="T300" priority="300">
@@ -1736,7 +1736,7 @@ export function RoomTimeline({ room, eventId, roomInputRef, editor }: RoomTimeli
<EventContent
messageLayout={messageLayout}
time={timeJSX}
iconSrc={Icons.Settings}
iconSrc={Icons.Setting}
content={
<Box grow="Yes" direction="Column">
<Text size="T300" priority="300">