Resolves #339 Authenticated webview for panels and config sections

This commit is contained in:
estevez-dev
2019-09-02 21:08:20 +03:00
parent 113cd29f74
commit 6663bcad72
7 changed files with 114 additions and 86 deletions

View File

@ -18,7 +18,9 @@ class LinkToWebConfig extends StatelessWidget {
overflow: TextOverflow.ellipsis,
style: new TextStyle(fontWeight: FontWeight.bold, fontSize: Sizes.largeFontSize)),
subtitle: Text("Tap to opne web version"),
onTap: () => HAUtils.launchURLInCustomTab(context: context, url: this.url),
onTap: () {
Launcher.launchAuthenticatedWebView(context: context, url: this.url, title: this.name);
},
)
],
),