diff --git a/.gitignore b/.gitignore index 8b9021a..d1ed909 100644 --- a/.gitignore +++ b/.gitignore @@ -47,7 +47,11 @@ android/key.properties # Rust things /target -pubkeys.txt - # Linux builds linux/ + +# Custom +scripts/private/ +AppDir/ +appimage-builder-cache/ +AppImageBuilder.yml diff --git a/lib/screens/myWallets/generate_wallets.dart b/lib/screens/myWallets/generate_wallets.dart index a967094..bad81b3 100644 --- a/lib/screens/myWallets/generate_wallets.dart +++ b/lib/screens/myWallets/generate_wallets.dart @@ -200,6 +200,11 @@ class PrintWallet extends StatelessWidget { return MaterialApp( home: Scaffold( appBar: AppBar( + leading: IconButton( + icon: const Icon(Icons.arrow_back, color: Colors.white), + onPressed: () { + Navigator.pop(context); + }), toolbarHeight: 60 * ratio, title: const Text('Imprimer ce trousseau')), body: PdfPreview( diff --git a/lib/screens/myWallets/import_cesium_wallet.dart b/lib/screens/myWallets/import_cesium_wallet.dart index cf39795..e4c56b2 100644 --- a/lib/screens/myWallets/import_cesium_wallet.dart +++ b/lib/screens/myWallets/import_cesium_wallet.dart @@ -23,7 +23,7 @@ class ImportWalletScreen extends StatelessWidget { WalletOptionsProvider _walletOptions = Provider.of(context, listen: false); MyWalletsProvider _myWalletProvider = - Provider.of(context); + Provider.of(context, listen: false); _generateWalletProvider.pin.text = randomSecretCode(5); return WillPopScope( @@ -94,7 +94,7 @@ class ImportWalletScreen extends StatelessWidget { if (_debounce?.isActive ?? false) { _debounce.cancel(); } - _debounce = Timer(const Duration(milliseconds: 200), () { + _debounce = Timer(const Duration(milliseconds: 600), () { walletProvider .generateCesiumWalletPubkey( walletProvider.cesiumID.text, text) diff --git a/pubspec.yaml b/pubspec.yaml index 010b65a..1a8101d 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -5,7 +5,7 @@ description: Pay with G1. # pub.dev using `pub publish`. This is preferred for private packages. publish_to: 'none' # Remove this line if you wish to publish to pub.dev -version: 0.0.4+3 +version: 0.0.4+4 environment: sdk: ">=2.7.0 <3.0.0"