Remove bottom bar for webview

This commit is contained in:
Yegor Vialov
2020-02-12 13:37:52 +00:00
parent f495a6affc
commit ed732e9b77
2 changed files with 9 additions and 9 deletions

View File

@ -867,18 +867,11 @@ class _MainPageState extends State<MainPage> with WidgetsBindingObserver, Ticker
)
);
} else if (ConnectionManager().settingsLoaded && ConnectionManager().useWebView) {
String webUIurl = ConnectionManager().httpWebHost;
if (webUIurl.contains("?")) {
webUIurl += "&external_auth=1";
} else {
webUIurl += "?external_auth=1";
}
return WebviewScaffold(
url: webUIurl,
url: ConnectionManager().httpWebHostWithExtAuth,
primary: false,
debuggingEnabled: true,
appBar: EmptyAppBar(),
bottomNavigationBar: bottomBar,
appBar: EmptyAppBar()
);
} else {
if (HomeAssistant().isNoViews) {