Default states-like UI if no Lovelace config

This commit is contained in:
Yegor Vialov
2020-05-19 22:01:07 +00:00
parent 3dca28a7da
commit dbeda6ea68
2 changed files with 40 additions and 16 deletions

View File

@ -128,14 +128,11 @@ class MobileAppIntegrationManager {
popup: Popup(
title: "App integration is not working properly",
body: "Something wrong with HA Client integration on your Home Assistant server. Please report this issue. You can try to remove Mobile App integration from Home Assistant and restart server to fix this issue.",
positiveText: "Report to GitHub",
negativeText: "Report to Discord",
positiveText: "Report issue",
negativeText: "Close",
onPositive: () {
Launcher.launchURLInBrowser("https://github.com/estevez-dev/ha_client/issues/new");
},
onNegative: () {
Launcher.launchURLInBrowser("https://discord.gg/u9vq7QE");
},
}
)
));
}