mirror of
https://github.com/Auties00/Reboot-Launcher.git
synced 2026-01-13 03:02:22 +01:00
Small fix to display errors and warnings from backend
This commit is contained in:
@@ -307,7 +307,9 @@ extension ServerControllerDialog on BackendController {
|
|||||||
onDismissed: onDismissed,
|
onDismissed: onDismissed,
|
||||||
action: action
|
action: action
|
||||||
);
|
);
|
||||||
_infoBars.add(result);
|
if(severity == InfoBarSeverity.info || severity == InfoBarSeverity.success) {
|
||||||
|
_infoBars.add(result);
|
||||||
|
}
|
||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user