Webview for external panels and everything
This commit is contained in:
@ -35,7 +35,7 @@ class Panel {
|
||||
)
|
||||
);
|
||||
} else {
|
||||
Launcher.launchURLInCustomTab(url: "${ConnectionManager().httpWebHost}/$urlPath");
|
||||
Launcher.launchAuthenticatedWebView(context: context, url: "${ConnectionManager().httpWebHost}/$urlPath", title: "${this.title}");
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -19,7 +19,7 @@ class LinkToWebConfig extends StatelessWidget {
|
||||
style: new TextStyle(fontWeight: FontWeight.bold, fontSize: Sizes.largeFontSize)),
|
||||
subtitle: Text("Tap to open web version"),
|
||||
onTap: () {
|
||||
Launcher.launchURLInCustomTab(url: this.url);
|
||||
Launcher.launchAuthenticatedWebView(context: context, url: this.url, title: this.name);
|
||||
},
|
||||
)
|
||||
],
|
||||
|
Reference in New Issue
Block a user