format code

This commit is contained in:
edouard committed 2026-10-24 15:26:43 +02:00
1 parent 9f358461e7
commit 705bff2f15
2 files changed
+7 -4

No files matched your search

+5 -2
View File
@@ -417,11 +417,14 @@ class _ChannelChatScreenState extends State<ChannelChatScreen> {
: Icons.notifications,
),
onPressed: () {
final currentMode = settings.getChannelNotificationMode(muteKey);
final currentMode = settings.getChannelNotificationMode(
muteKey,
);
ChannelNotificationMode newMode;
if (currentMode == ChannelNotificationMode.all) {
newMode = ChannelNotificationMode.mentionsOnly;
} else if (currentMode == ChannelNotificationMode.mentionsOnly) {
} else if (currentMode ==
ChannelNotificationMode.mentionsOnly) {
newMode = ChannelNotificationMode.muted;
} else {
newMode = ChannelNotificationMode.all;