mirror of
https://github.com/cake-tech/cake_wallet.git
synced 2024-11-17 01:37:40 +00:00
Merge pull request #821 from cake-tech/fix_exchange_loading_issue_and_restore
Fix Exchange Loading issue and Restore wallet
This commit is contained in:
commit
f51db1416f
4 changed files with 16 additions and 10 deletions
|
@ -4,7 +4,7 @@ part 'authentication_store.g.dart';
|
||||||
|
|
||||||
class AuthenticationStore = AuthenticationStoreBase with _$AuthenticationStore;
|
class AuthenticationStore = AuthenticationStoreBase with _$AuthenticationStore;
|
||||||
|
|
||||||
enum AuthenticationState { uninitialized, installed, allowed }
|
enum AuthenticationState { uninitialized, installed, allowed, _reset }
|
||||||
|
|
||||||
abstract class AuthenticationStoreBase with Store {
|
abstract class AuthenticationStoreBase with Store {
|
||||||
AuthenticationStoreBase() : state = AuthenticationState.uninitialized;
|
AuthenticationStoreBase() : state = AuthenticationState.uninitialized;
|
||||||
|
@ -13,8 +13,14 @@ abstract class AuthenticationStoreBase with Store {
|
||||||
AuthenticationState state;
|
AuthenticationState state;
|
||||||
|
|
||||||
@action
|
@action
|
||||||
void installed() => state = AuthenticationState.installed;
|
void installed() {
|
||||||
|
state = AuthenticationState._reset;
|
||||||
|
state = AuthenticationState.installed;
|
||||||
|
}
|
||||||
|
|
||||||
@action
|
@action
|
||||||
void allowed() => state = AuthenticationState.allowed;
|
void allowed() {
|
||||||
|
state = AuthenticationState._reset;
|
||||||
|
state = AuthenticationState.allowed;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -22,8 +22,8 @@ dependencies:
|
||||||
barcode_scan2: ^4.2.1
|
barcode_scan2: ^4.2.1
|
||||||
http: ^0.13.4
|
http: ^0.13.4
|
||||||
path_provider: ^2.0.11
|
path_provider: ^2.0.11
|
||||||
mobx: 2.0.7+4
|
mobx: ^2.1.4
|
||||||
flutter_mobx: ^2.0.6+1
|
flutter_mobx: ^2.0.6+5
|
||||||
flutter_slidable: ^2.0.0
|
flutter_slidable: ^2.0.0
|
||||||
share_plus: ^4.0.10
|
share_plus: ^4.0.10
|
||||||
# date_range_picker: ^1.0.6
|
# date_range_picker: ^1.0.6
|
||||||
|
@ -73,7 +73,7 @@ dev_dependencies:
|
||||||
flutter_test:
|
flutter_test:
|
||||||
sdk: flutter
|
sdk: flutter
|
||||||
build_runner: ^2.1.11
|
build_runner: ^2.1.11
|
||||||
mobx_codegen: ^2.0.7
|
mobx_codegen: ^2.1.1
|
||||||
build_resolvers: ^2.0.9
|
build_resolvers: ^2.0.9
|
||||||
hive_generator: ^1.1.3
|
hive_generator: ^1.1.3
|
||||||
flutter_launcher_icons: ^0.9.3
|
flutter_launcher_icons: ^0.9.3
|
||||||
|
|
|
@ -15,13 +15,13 @@ APP_ANDROID_TYPE=$1
|
||||||
|
|
||||||
MONERO_COM_NAME="Monero.com"
|
MONERO_COM_NAME="Monero.com"
|
||||||
MONERO_COM_VERSION="1.2.8"
|
MONERO_COM_VERSION="1.2.8"
|
||||||
MONERO_COM_BUILD_NUMBER=39
|
MONERO_COM_BUILD_NUMBER=40
|
||||||
MONERO_COM_BUNDLE_ID="com.monero.app"
|
MONERO_COM_BUNDLE_ID="com.monero.app"
|
||||||
MONERO_COM_PACKAGE="com.monero.app"
|
MONERO_COM_PACKAGE="com.monero.app"
|
||||||
|
|
||||||
CAKEWALLET_NAME="Cake Wallet"
|
CAKEWALLET_NAME="Cake Wallet"
|
||||||
CAKEWALLET_VERSION="4.5.9"
|
CAKEWALLET_VERSION="4.5.9"
|
||||||
CAKEWALLET_BUILD_NUMBER=145
|
CAKEWALLET_BUILD_NUMBER=146
|
||||||
CAKEWALLET_BUNDLE_ID="com.cakewallet.cake_wallet"
|
CAKEWALLET_BUNDLE_ID="com.cakewallet.cake_wallet"
|
||||||
CAKEWALLET_PACKAGE="com.cakewallet.cake_wallet"
|
CAKEWALLET_PACKAGE="com.cakewallet.cake_wallet"
|
||||||
|
|
||||||
|
|
|
@ -14,12 +14,12 @@ APP_IOS_TYPE=$1
|
||||||
|
|
||||||
MONERO_COM_NAME="Monero.com"
|
MONERO_COM_NAME="Monero.com"
|
||||||
MONERO_COM_VERSION="1.2.8"
|
MONERO_COM_VERSION="1.2.8"
|
||||||
MONERO_COM_BUILD_NUMBER=37
|
MONERO_COM_BUILD_NUMBER=38
|
||||||
MONERO_COM_BUNDLE_ID="com.cakewallet.monero"
|
MONERO_COM_BUNDLE_ID="com.cakewallet.monero"
|
||||||
|
|
||||||
CAKEWALLET_NAME="Cake Wallet"
|
CAKEWALLET_NAME="Cake Wallet"
|
||||||
CAKEWALLET_VERSION="4.5.9"
|
CAKEWALLET_VERSION="4.5.9"
|
||||||
CAKEWALLET_BUILD_NUMBER=141
|
CAKEWALLET_BUILD_NUMBER=142
|
||||||
CAKEWALLET_BUNDLE_ID="com.fotolockr.cakewallet"
|
CAKEWALLET_BUNDLE_ID="com.fotolockr.cakewallet"
|
||||||
|
|
||||||
HAVEN_NAME="Haven"
|
HAVEN_NAME="Haven"
|
||||||
|
|
Loading…
Reference in a new issue