Skip to content

Commit 1ef4e76

Browse files
committed
Small fix to display errors and warnings from backend
1 parent cd8c8e6 commit 1ef4e76

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

gui/lib/src/messenger/implementation/server.dart

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -307,7 +307,9 @@ extension ServerControllerDialog on BackendController {
307307
onDismissed: onDismissed,
308308
action: action
309309
);
310-
_infoBars.add(result);
310+
if(severity == InfoBarSeverity.info || severity == InfoBarSeverity.success) {
311+
_infoBars.add(result);
312+
}
311313
return result;
312314
}
313315
}

0 commit comments

Comments
 (0)