From 9066ccd60755634b0d99afa44eb80baa7212ec25 Mon Sep 17 00:00:00 2001 From: bossanyit Date: Sat, 8 May 2021 22:03:22 +0200 Subject: [PATCH] WT 1.1.14 tutorial - registration process fix --- ios/Runner.xcodeproj/project.pbxproj | 6 +++--- lib/view/exercise_new_page.dart | 1 + lib/widgets/tutorial_widget.dart | 1 + pubspec.yaml | 2 +- 4 files changed, 6 insertions(+), 4 deletions(-) diff --git a/ios/Runner.xcodeproj/project.pbxproj b/ios/Runner.xcodeproj/project.pbxproj index b811635..70f3044 100644 --- a/ios/Runner.xcodeproj/project.pbxproj +++ b/ios/Runner.xcodeproj/project.pbxproj @@ -388,7 +388,7 @@ ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; CLANG_ENABLE_MODULES = YES; CODE_SIGN_ENTITLEMENTS = Runner/Runner.entitlements; - CURRENT_PROJECT_VERSION = 5; + CURRENT_PROJECT_VERSION = 6; DEVELOPMENT_TEAM = SFJJBDCU6Z; ENABLE_BITCODE = NO; FRAMEWORK_SEARCH_PATHS = ( @@ -531,7 +531,7 @@ ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; CLANG_ENABLE_MODULES = YES; CODE_SIGN_ENTITLEMENTS = Runner/Runner.entitlements; - CURRENT_PROJECT_VERSION = 5; + CURRENT_PROJECT_VERSION = 6; DEVELOPMENT_TEAM = SFJJBDCU6Z; ENABLE_BITCODE = NO; FRAMEWORK_SEARCH_PATHS = ( @@ -566,7 +566,7 @@ ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; CLANG_ENABLE_MODULES = YES; CODE_SIGN_ENTITLEMENTS = Runner/Runner.entitlements; - CURRENT_PROJECT_VERSION = 5; + CURRENT_PROJECT_VERSION = 6; DEVELOPMENT_TEAM = SFJJBDCU6Z; ENABLE_BITCODE = NO; FRAMEWORK_SEARCH_PATHS = ( diff --git a/lib/view/exercise_new_page.dart b/lib/view/exercise_new_page.dart index 1e1feef..7d67820 100644 --- a/lib/view/exercise_new_page.dart +++ b/lib/view/exercise_new_page.dart @@ -181,6 +181,7 @@ class _ExerciseNewPageState extends State with Trans, Logging { return; } else { if (tutorialBloc.isActive) { + tutorialBloc.step = 0; TutorialWidget().close(); } Navigator.of(context).pushNamed("registration"); diff --git a/lib/widgets/tutorial_widget.dart b/lib/widgets/tutorial_widget.dart index 04e71fd..4fda72a 100644 --- a/lib/widgets/tutorial_widget.dart +++ b/lib/widgets/tutorial_widget.dart @@ -25,6 +25,7 @@ class TutorialWidget with Trans, Logging { void tip(BuildContext context) { final TutorialBloc bloc = BlocProvider.of(context); if (bloc.action == null) { + print("Action is null"); return; } setContext(context); diff --git a/pubspec.yaml b/pubspec.yaml index d7624b1..4d02a24 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -15,7 +15,7 @@ publish_to: 'none' # Remove this line if you wish to publish to pub.dev # In iOS, build-name is used as CFBundleShortVersionString while build-number used as CFBundleVersion. # Read more about iOS versioning at # https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html -version: 1.1.14+72 +version: 1.1.14+73 environment: sdk: ">=2.12.0 <3.0.0"