mirror of
https://github.com/SchildiChat/schildichat-desktop.git
synced 2025-03-26 10:07:47 +01:00
31 lines
1.3 KiB
Diff
31 lines
1.3 KiB
Diff
From c8326bf3b2024cb21dae646d552f440e8be31a92 Mon Sep 17 00:00:00 2001
|
|
From: SpiritCroc <dev@spiritcroc.de>
|
|
Date: Wed, 17 Nov 2021 12:50:25 +0100
|
|
Subject: Hide the "mute" notification state the same way as the other states
|
|
|
|
This can get in the way of the "marked as unread" icon otherwise.
|
|
Furthermore, I didn't really like it showing there persistently either
|
|
way.
|
|
---
|
|
src/components/views/rooms/RoomTile.tsx | 4 +++-
|
|
1 file changed, 3 insertions(+), 1 deletion(-)
|
|
|
|
diff --git a/src/components/views/rooms/RoomTile.tsx b/src/components/views/rooms/RoomTile.tsx
|
|
index 93fb42f447..09df8eaac9 100644
|
|
--- a/src/components/views/rooms/RoomTile.tsx
|
|
+++ b/src/components/views/rooms/RoomTile.tsx
|
|
@@ -304,7 +304,9 @@ export class RoomTile extends React.PureComponent<ClassProps, State> {
|
|
|
|
// Only show the icon by default if the room is overridden to muted.
|
|
// TODO: [FTUE Notifications] Probably need to detect global mute state
|
|
- mx_RoomTile_notificationsButton_show: state === RoomNotifState.Mute,
|
|
+ //mx_RoomTile_notificationsButton_show: state === RoomNotifState.Mute,
|
|
+ // SchildiChat: never show the icon by default. This gets in the way of the "marked as unread" icon.
|
|
+ mx_RoomTile_notificationsButton_show: false,
|
|
});
|
|
|
|
return (
|
|
--
|
|
2.47.0
|
|
|