From 7e896579b72f70b9052181c2ee00e6a6efbe4bab Mon Sep 17 00:00:00 2001 From: DanGould Date: Sat, 14 Dec 2024 14:35:37 -0500 Subject: [PATCH] Fix TxSuccess conditional This relies exclusively on two simple if conditionals in _Screen rather than a complext nested one later on. I missed commiting this in #341. --- lib/send/send_page.dart | 7 ------- 1 file changed, 7 deletions(-) diff --git a/lib/send/send_page.dart b/lib/send/send_page.dart index 716ae1a6..f0c59bf5 100644 --- a/lib/send/send_page.dart +++ b/lib/send/send_page.dart @@ -174,13 +174,6 @@ class _Screen extends StatelessWidget { if (showWarning && !walletIsLiquid && potentialonchainSwap == false) return const _Warnings(); - if (signed && !isLn) { - if (!sent) - return const TxDetailsScreen(); - else - return const TxSuccess(); - } - return ColoredBox( color: context.colour.primaryContainer, child: SingleChildScrollView(