This commit is contained in:
OmarHatem
2025-12-10 04:15:03 +02:00
parent a2e4e463b5
commit 42fcc9465b
7 changed files with 36 additions and 39 deletions
@@ -267,14 +267,15 @@ class WalletRestoreFromKeysFormState extends State<WalletRestoreFromKeysForm> {
maxLines: null,
),
),
Container(
padding: EdgeInsets.only(top: 20.0),
child: BaseTextFormField(
controller: scanSecretController,
hintText: "Scan secret",
maxLines: null,
if (widget.walletRestoreViewModel.type == WalletType.litecoin)
Container(
padding: EdgeInsets.only(top: 20.0),
child: BaseTextFormField(
controller: scanSecretController,
hintText: "Scan secret",
maxLines: null,
),
),
),
Container(
padding: EdgeInsets.only(top: 20.0),
child: BaseTextFormField(
+1 -1
View File
@@ -299,7 +299,7 @@ class SendCardState extends State<SendCard> with AutomaticKeepAliveClientMixin<S
PaymentRequest paymentRequest,
PaymentFlowResult result,
) async {
if (context.mounted && Navigator.of(context).canPop()) {
if (mounted && Navigator.of(context).canPop()) {
Navigator.of(context).pop();
}