Skip to content

Commit

Permalink
fix: data race after login (fix #21)
Browse files Browse the repository at this point in the history
  • Loading branch information
muety committed Dec 5, 2021
1 parent 90248c5 commit 502c1b0
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions android/local.properties
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
sdk.dir=/media/ferdinand/HDD/android/sdk
flutter.sdk=/opt/flutter
flutter.versionName=1.2.1
flutter.buildMode=debug
flutter.versionCode=29
flutter.versionName=1.2.2
flutter.buildMode=release
flutter.versionCode=30
2 changes: 1 addition & 1 deletion lib/state/anchr_actions.dart
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ mixin AnchrActions<T extends StatefulWidget> on AnchrState<T> {
return authService.login(userMail, password).then((token) {
preferences.setString(Strings.keyUserMailPref, userMail);
preferences.setString(Strings.keyUserTokenPref, token);
this.initApp();
return this.initApp();
});
}

Expand Down
2 changes: 1 addition & 1 deletion pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: anchr_android
description: Android client for Anchr.io link collections

version: 1.2.1+29
version: 1.2.2+30

environment:
sdk: ">=2.10.0 <3.0.0"
Expand Down

0 comments on commit 502c1b0

Please sign in to comment.