Add back button to pdf print view
This commit is contained in:
parent
224016d39e
commit
148302d509
|
@ -47,7 +47,11 @@ android/key.properties
|
|||
# Rust things
|
||||
/target
|
||||
|
||||
pubkeys.txt
|
||||
|
||||
# Linux builds
|
||||
linux/
|
||||
|
||||
# Custom
|
||||
scripts/private/
|
||||
AppDir/
|
||||
appimage-builder-cache/
|
||||
AppImageBuilder.yml
|
||||
|
|
|
@ -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(
|
||||
|
|
|
@ -23,7 +23,7 @@ class ImportWalletScreen extends StatelessWidget {
|
|||
WalletOptionsProvider _walletOptions =
|
||||
Provider.of<WalletOptionsProvider>(context, listen: false);
|
||||
MyWalletsProvider _myWalletProvider =
|
||||
Provider.of<MyWalletsProvider>(context);
|
||||
Provider.of<MyWalletsProvider>(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)
|
||||
|
|
|
@ -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"
|
||||
|
|
Loading…
Reference in New Issue