Fixed authentication bar disapearing. Changed build version to 19 for android, 4.0.8 (2) for iOS.

M committed Nov 17, 2020 at 11:00 UTC ce465ca622ac9f94a614252798fe78d757fbd73f
3 files changed +5 -5
ios/Runner.xcodeproj/project.pbxproj
+3 -3
@@ -354,7 +354,7 @@
354 buildSettings = {
355 ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
356 CLANG_ENABLE_MODULES = YES;
357 - CURRENT_PROJECT_VERSION = 1;
357 + CURRENT_PROJECT_VERSION = 2;
358 DEVELOPMENT_TEAM = 32J6BB6VUS;
359 ENABLE_BITCODE = NO;
360 FRAMEWORK_SEARCH_PATHS = (
@@ -494,7 +494,7 @@
494 buildSettings = {
495 ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
496 CLANG_ENABLE_MODULES = YES;
497 - CURRENT_PROJECT_VERSION = 1;
497 + CURRENT_PROJECT_VERSION = 2;
498 DEVELOPMENT_TEAM = 32J6BB6VUS;
499 ENABLE_BITCODE = NO;
500 FRAMEWORK_SEARCH_PATHS = (
@@ -528,7 +528,7 @@
528 buildSettings = {
529 ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
530 CLANG_ENABLE_MODULES = YES;
531 - CURRENT_PROJECT_VERSION = 1;
531 + CURRENT_PROJECT_VERSION = 2;
532 DEVELOPMENT_TEAM = 32J6BB6VUS;
533 ENABLE_BITCODE = NO;
534 FRAMEWORK_SEARCH_PATHS = (
lib/src/screens/auth/auth_page.dart
+1 -1
@@ -39,10 +39,10 @@ class AuthPageState extends State<AuthPage> {
39 _reaction ??=
40 reaction((_) => widget.authViewModel.state, (ExecutionState state) {
41 if (state is ExecutedSuccessfullyState) {
42 + _authBar?.dismiss();
43 if (widget.onAuthenticationFinished != null) {
44 widget.onAuthenticationFinished(true, this);
45 } else {
45 - _authBar?.dismiss();
46 showBar<void>(context, S.of(context).authenticated);
47 }
48 }
pubspec.yaml
+1 -1
@@ -11,7 +11,7 @@ description: Cake Wallet.
11 # In iOS, build-name is used as CFBundleShortVersionString while build-number used as CFBundleVersion.
12 # Read more about iOS versioning at
13 # https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html
14 -version: 4.0.8+18
14 +version: 4.0.8+19
15
16 environment:
17 sdk: ">=2.7.0 <3.0.0"