refactor: Add more stricter lints
This commit is contained in:
parent
c59031c44c
commit
5283d0fcc8
15 changed files with 66 additions and 60 deletions
|
|
@ -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!) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue