Panels error handling

This commit is contained in:
Yegor Vialov
2020-05-01 13:47:41 +00:00
parent ba343fbd98
commit 8a180c4c0e
8 changed files with 57 additions and 53 deletions

View File

@ -40,12 +40,12 @@ class BottomInfoBarController {
}
}
void showErrorBottomBar(HAError error) {
void showErrorBottomBar(HACException error) {
actions.clear();
actions.addAll(error.actions);
bottomBarErrorColor = true;
bottomBarProgress = false;
bottomBarText = "${error.message}";
bottomBarText = "${error.cause}";
if (show == null) {
initialState = true;
} else {