Resolves #340 Connection refactoring

This commit is contained in:
estevez-dev
2019-03-26 00:18:30 +02:00
parent 4a75243994
commit 7c010359c3
7 changed files with 495 additions and 520 deletions

View File

@ -37,7 +37,7 @@ class Panel {
);
} else {
HomeAssistantModel haModel = HomeAssistantModel.of(context);
String url = "${haModel.homeAssistant.httpWebHost}/$urlPath";
String url = "${haModel.homeAssistant.connection.httpWebHost}/$urlPath";
Logger.d("Launching custom tab with $url");
HAUtils.launchURLInCustomTab(context, url);
}