diff --git a/lib/logic/app_logic.dart b/lib/logic/app_logic.dart index a75119c6..48900654 100644 --- a/lib/logic/app_logic.dart +++ b/lib/logic/app_logic.dart @@ -64,7 +64,7 @@ class AppLogic { // Load initial view (replace empty initial view which is covered by a native splash screen) bool showIntro = settingsLogic.hasCompletedOnboarding.value == false; - if (true) { + if (showIntro) { appRouter.go(ScreenPaths.intro); } else { appRouter.go(ScreenPaths.home); diff --git a/lib/ui/screens/intro/intro_screen.dart b/lib/ui/screens/intro/intro_screen.dart index 5d79d0c9..9ab803ed 100644 --- a/lib/ui/screens/intro/intro_screen.dart +++ b/lib/ui/screens/intro/intro_screen.dart @@ -126,6 +126,10 @@ class _IntroScreenState extends State { ]), ), + // Build a cpl overlays to hide the content when swiping on very wide screens + _buildHzGradientOverlay(left: true), + _buildHzGradientOverlay(), + // finish button: Positioned( right: $styles.insets.lg, @@ -140,10 +144,6 @@ class _IntroScreenState extends State { child: _buildNavText(context), ), ), - - // Build a cpl overlays to hide the content when swiping on very wide screens - _buildHzGradientOverlay(left: true), - _buildHzGradientOverlay(), ]); return DefaultTextColor( diff --git a/pubspec.lock b/pubspec.lock index 808dbd67..7348aa21 100644 --- a/pubspec.lock +++ b/pubspec.lock @@ -1149,10 +1149,10 @@ packages: dependency: transitive description: name: string_scanner - sha256: "862015c5db1f3f3c4ea3b94dc2490363a84262994b88902315ed74be1155612f" + sha256: "556692adab6cfa87322a115640c11f13cb77b3f076ddcc5d6ae3c20242bedcde" url: "https://pub.dev" source: hosted - version: "1.1.1" + version: "1.2.0" sync_http: dependency: transitive description: @@ -1173,10 +1173,10 @@ packages: dependency: transitive description: name: test_api - sha256: c9aba3b3dbfe8878845dfab5fa096eb8de7b62231baeeb1cea8e3ee81ca8c6d8 + sha256: ad540f65f92caa91bf21dfc8ffb8c589d6e4dc0c2267818b4cc2792857706206 url: "https://pub.dev" source: hosted - version: "0.4.15" + version: "0.4.16" timing: dependency: transitive description: diff --git a/pubspec.yaml b/pubspec.yaml index 9b4221bf..103ab083 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -1,7 +1,7 @@ name: wonders description: Explore the famous wonders of the world. publish_to: "none" -version: 2.0.0 +version: 2.0.1 environment: sdk: ">=2.17.0 <3.0.0"