Skip to content
Snippets Groups Projects
Commit bcc816c9 authored by Markin Igor's avatar Markin Igor
Browse files

Return host back to third partyapp.

parent 8212bc25
Branches
No related tags found
1 merge request!1Mobile app initial implementation.
...@@ -55,7 +55,7 @@ class _HomeState extends State<Home> { ...@@ -55,7 +55,7 @@ class _HomeState extends State<Home> {
log("Open ${widget.invokerURL}"); log("Open ${widget.invokerURL}");
try { try {
await launch("${widget.invokerURL}?token=$token"); await launch("${widget.invokerURL}?token=$token&host=$_host");
} catch (e) { } catch (e) {
log("Error launching url ${widget.invokerURL}"); log("Error launching url ${widget.invokerURL}");
} }
......
...@@ -23,7 +23,7 @@ class _SplashScreenState extends State<SplashScreen> { ...@@ -23,7 +23,7 @@ class _SplashScreenState extends State<SplashScreen> {
// Show loader additional 2 seconds // Show loader additional 2 seconds
Timer( Timer(
Duration(seconds: 2), Duration(seconds: 1),
() { () {
Navigator.of(context).pushReplacement(new MaterialPageRoute(builder: (BuildContext context) => newWidget)); Navigator.of(context).pushReplacement(new MaterialPageRoute(builder: (BuildContext context) => newWidget));
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment