diff --git a/app/android/app/src/main/res/mipmap-hdpi/ic_launcher_local.png b/app/android/app/src/main/res/mipmap-hdpi/ic_launcher_local.png index 136019b7..7ca2eea0 100644 Binary files a/app/android/app/src/main/res/mipmap-hdpi/ic_launcher_local.png and b/app/android/app/src/main/res/mipmap-hdpi/ic_launcher_local.png differ diff --git a/app/android/app/src/main/res/mipmap-hdpi/ic_launcher_staging.png b/app/android/app/src/main/res/mipmap-hdpi/ic_launcher_staging.png index 2b5a3b17..689ebfc3 100644 Binary files a/app/android/app/src/main/res/mipmap-hdpi/ic_launcher_staging.png and b/app/android/app/src/main/res/mipmap-hdpi/ic_launcher_staging.png differ diff --git a/app/android/app/src/main/res/mipmap-hdpi/ic_launcher_testing.png b/app/android/app/src/main/res/mipmap-hdpi/ic_launcher_testing.png index 814a2360..7ad795dc 100644 Binary files a/app/android/app/src/main/res/mipmap-hdpi/ic_launcher_testing.png and b/app/android/app/src/main/res/mipmap-hdpi/ic_launcher_testing.png differ diff --git a/app/lib/screens/init_screen.dart b/app/lib/screens/init_screen.dart index 475ff01c..ea4d691c 100644 --- a/app/lib/screens/init_screen.dart +++ b/app/lib/screens/init_screen.dart @@ -16,8 +16,9 @@ class _InitState extends State { InAppWebView iaWebView; finish(List params) async { + print("**** LOAD DONE "); saveInitDone(); - Navigator.pop(context); + Navigator.pop(context, true); } addHandler() { diff --git a/app/lib/screens/main_screen.dart b/app/lib/screens/main_screen.dart index 82dc43bf..b54a8fd6 100644 --- a/app/lib/screens/main_screen.dart +++ b/app/lib/screens/main_screen.dart @@ -56,6 +56,7 @@ class _AppState extends State { } pushScreens() async { + print("checking internet connection now"); await checkInternetConnection(); await checkInternetConnectionWithOurServers(); await checkIfAppIsUnderMaintenance(); @@ -63,8 +64,12 @@ class _AppState extends State { // await checkIfDeviceIdIsCorrect(); if (widget.initDone != null && !widget.initDone) { - await Navigator.push( - context, MaterialPageRoute(builder: (context) => InitScreen())); + InitScreen init = InitScreen(); + bool accepted = false; + while (!accepted) { + accepted = !(await Navigator.push( + context, MaterialPageRoute(builder: (context) => init)) == null); + } } if (!widget.registered) { diff --git a/app/lib/widgets/custom_dialog.dart b/app/lib/widgets/custom_dialog.dart index e0bc417d..0271ec13 100644 --- a/app/lib/widgets/custom_dialog.dart +++ b/app/lib/widgets/custom_dialog.dart @@ -18,9 +18,26 @@ class CustomDialog extends StatefulWidget { this.image = Icons.person, this.hiddenaction, }); - show(context) { - show(context); + return showDialog( + context: context, + barrierDismissible: false, + builder: (BuildContext context) => CustomDialog( + image: Icons.error, + title: this.title, + description: this.description, + widgetDescription: this.widgetDescription, + actions: [ + //@todo make this configurable, ok;okcancel + FlatButton( + child: new Text("Ok"), + onPressed: () { + Navigator.pop(context); + }, + ) + ], + ), + ); } @override diff --git a/frontend/src/views/VerifySms/VerifySms.html b/frontend/src/views/VerifySms/VerifySms.html index 88225157..0ececd6f 100644 --- a/frontend/src/views/VerifySms/VerifySms.html +++ b/frontend/src/views/VerifySms/VerifySms.html @@ -15,10 +15,10 @@

check_circle -

phone validated

+

Phone Validated

- Open 3Bot app + Open ThreeFold Connect app