From bcc816c9a9b5e9c620cb497d54ec38b205961f9c Mon Sep 17 00:00:00 2001
From: Markin Igor <markin.io210@gmail.com>
Date: Fri, 26 Jul 2019 17:14:34 +0500
Subject: [PATCH] Return host back to third partyapp.

---
 lib/src/screens/home.dart         | 2 +-
 lib/src/screens/splashscreen.dart | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/lib/src/screens/home.dart b/lib/src/screens/home.dart
index 528c2bf..15f4772 100644
--- a/lib/src/screens/home.dart
+++ b/lib/src/screens/home.dart
@@ -55,7 +55,7 @@ class _HomeState extends State<Home> {
 
                 log("Open ${widget.invokerURL}");
                 try {
-                  await launch("${widget.invokerURL}?token=$token");
+                  await launch("${widget.invokerURL}?token=$token&host=$_host");
                 } catch (e) {
                   log("Error launching url ${widget.invokerURL}");
                 }
diff --git a/lib/src/screens/splashscreen.dart b/lib/src/screens/splashscreen.dart
index 44bd75c..02ecd48 100644
--- a/lib/src/screens/splashscreen.dart
+++ b/lib/src/screens/splashscreen.dart
@@ -23,7 +23,7 @@ class _SplashScreenState extends State<SplashScreen> {
 
     // Show loader additional 2 seconds
     Timer(
-      Duration(seconds: 2),
+      Duration(seconds: 1),
         () {
           Navigator.of(context).pushReplacement(new MaterialPageRoute(builder: (BuildContext context) => newWidget));
         }
-- 
GitLab