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
|
# Rust things
|
||||||
/target
|
/target
|
||||||
|
|
||||||
pubkeys.txt
|
|
||||||
|
|
||||||
# Linux builds
|
# Linux builds
|
||||||
linux/
|
linux/
|
||||||
|
|
||||||
|
# Custom
|
||||||
|
scripts/private/
|
||||||
|
AppDir/
|
||||||
|
appimage-builder-cache/
|
||||||
|
AppImageBuilder.yml
|
||||||
|
|
|
@ -200,6 +200,11 @@ class PrintWallet extends StatelessWidget {
|
||||||
return MaterialApp(
|
return MaterialApp(
|
||||||
home: Scaffold(
|
home: Scaffold(
|
||||||
appBar: AppBar(
|
appBar: AppBar(
|
||||||
|
leading: IconButton(
|
||||||
|
icon: const Icon(Icons.arrow_back, color: Colors.white),
|
||||||
|
onPressed: () {
|
||||||
|
Navigator.pop(context);
|
||||||
|
}),
|
||||||
toolbarHeight: 60 * ratio,
|
toolbarHeight: 60 * ratio,
|
||||||
title: const Text('Imprimer ce trousseau')),
|
title: const Text('Imprimer ce trousseau')),
|
||||||
body: PdfPreview(
|
body: PdfPreview(
|
||||||
|
|
|
@ -23,7 +23,7 @@ class ImportWalletScreen extends StatelessWidget {
|
||||||
WalletOptionsProvider _walletOptions =
|
WalletOptionsProvider _walletOptions =
|
||||||
Provider.of<WalletOptionsProvider>(context, listen: false);
|
Provider.of<WalletOptionsProvider>(context, listen: false);
|
||||||
MyWalletsProvider _myWalletProvider =
|
MyWalletsProvider _myWalletProvider =
|
||||||
Provider.of<MyWalletsProvider>(context);
|
Provider.of<MyWalletsProvider>(context, listen: false);
|
||||||
|
|
||||||
_generateWalletProvider.pin.text = randomSecretCode(5);
|
_generateWalletProvider.pin.text = randomSecretCode(5);
|
||||||
return WillPopScope(
|
return WillPopScope(
|
||||||
|
@ -94,7 +94,7 @@ class ImportWalletScreen extends StatelessWidget {
|
||||||
if (_debounce?.isActive ?? false) {
|
if (_debounce?.isActive ?? false) {
|
||||||
_debounce.cancel();
|
_debounce.cancel();
|
||||||
}
|
}
|
||||||
_debounce = Timer(const Duration(milliseconds: 200), () {
|
_debounce = Timer(const Duration(milliseconds: 600), () {
|
||||||
walletProvider
|
walletProvider
|
||||||
.generateCesiumWalletPubkey(
|
.generateCesiumWalletPubkey(
|
||||||
walletProvider.cesiumID.text, text)
|
walletProvider.cesiumID.text, text)
|
||||||
|
|
|
@ -5,7 +5,7 @@ description: Pay with G1.
|
||||||
# pub.dev using `pub publish`. This is preferred for private packages.
|
# 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
|
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:
|
environment:
|
||||||
sdk: ">=2.7.0 <3.0.0"
|
sdk: ">=2.7.0 <3.0.0"
|
||||||
|
|
Loading…
Reference in New Issue