refactor: Add more stricter lints

This commit is contained in:
Christian Kußowski 2026-02-20 14:03:46 +01:00
commit 5283d0fcc8
No known key found for this signature in database
GPG key ID: E067ECD60F1A0652
15 changed files with 66 additions and 60 deletions

View file

@ -135,7 +135,7 @@ extension LocalNotificationsExtension on MatrixState {
var action = DesktopNotificationActions.values.singleWhereOrNull(
(a) => a.name == actionStr,
);
if (action == null && actionStr == "default") {
if (action == null && actionStr == 'default') {
action = DesktopNotificationActions.openChat;
}
switch (action!) {