From 9a4c1d602b6219c6cc654d7e1d033f9f41cf7c05 Mon Sep 17 00:00:00 2001 From: poka Date: Tue, 31 Jan 2023 03:14:01 +0100 Subject: [PATCH] fix: bad virtual keybaord for tchois (team peer programming) --- lib/screens/home.dart | 2 +- lib/screens/wallet_view.dart | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/lib/screens/home.dart b/lib/screens/home.dart index d7833c7..f497679 100644 --- a/lib/screens/home.dart +++ b/lib/screens/home.dart @@ -96,7 +96,7 @@ class _HomeScreenState extends State { // sub.nodeConnected = false; // } - // Améliore ce code car il y a un bug: parfois l'app se croit hors ligne, alors que c'est faux, le téléphone est bien connecté à internet + // Améliore ce code car il y a un bug: parfois l'app se croit hors ligne, alors que c'est faux, le téléphone est bien connecté à internet // (GPT vscode extension fixed it for my...) HomeProvider homeProvider = Provider.of(context, listen: false); diff --git a/lib/screens/wallet_view.dart b/lib/screens/wallet_view.dart index 41b48eb..39451c8 100644 --- a/lib/screens/wallet_view.dart +++ b/lib/screens/wallet_view.dart @@ -637,7 +637,8 @@ void paymentPopup(BuildContext context, String toAddress) { autofocus: true, maxLines: 1, textAlign: TextAlign.center, - keyboardType: TextInputType.number, + keyboardType: const TextInputType.numberWithOptions( + decimal: true), onChanged: (_) async { fees = await sub.txFees( defaultWallet.address,