From 5d2ec004074b49691a6d95677fc80f2dd1ebd838 Mon Sep 17 00:00:00 2001 From: sneurlax Date: Tue, 16 Jul 2024 10:21:55 -0500 Subject: [PATCH] spacing fix --- .../wallet_settings_wallet_settings_view.dart | 23 ++++++++----------- 1 file changed, 9 insertions(+), 14 deletions(-) diff --git a/lib/pages/settings_views/wallet_settings_view/wallet_settings_wallet_settings/wallet_settings_wallet_settings_view.dart b/lib/pages/settings_views/wallet_settings_view/wallet_settings_wallet_settings/wallet_settings_wallet_settings_view.dart index cb572a72c..12599f7f1 100644 --- a/lib/pages/settings_views/wallet_settings_view/wallet_settings_wallet_settings/wallet_settings_wallet_settings_view.dart +++ b/lib/pages/settings_views/wallet_settings_view/wallet_settings_wallet_settings/wallet_settings_wallet_settings_view.dart @@ -185,9 +185,11 @@ class _WalletSettingsWalletSettingsViewState ), ), ), - const SizedBox( - height: 8, - ), + if (ref.watch(pWallets).getWallet(widget.walletId) + is RbfInterface) + const SizedBox( + height: 8, + ), if (ref.watch(pWallets).getWallet(widget.walletId) is RbfInterface) RoundedWhiteContainer( @@ -222,7 +224,7 @@ class _WalletSettingsWalletSettingsViewState ), ), if (ref.watch(pWallets).getWallet(widget.walletId) - is RbfInterface) + is MultiAddressInterface) const SizedBox( height: 8, ), @@ -273,11 +275,6 @@ class _WalletSettingsWalletSettingsViewState }, ), ), - if (ref.watch(pWallets).getWallet(widget.walletId) - is MultiAddressInterface) - const SizedBox( - height: 8, - ), if (ref.watch(pWallets).getWallet(widget.walletId) is LelantusInterface) const SizedBox( @@ -354,11 +351,9 @@ class _WalletSettingsWalletSettingsViewState ), ), ), - if (ref.watch(pWallets).getWallet(widget.walletId) - is RbfInterface) - const SizedBox( - height: 8, - ), + const SizedBox( + height: 8, + ), RoundedWhiteContainer( padding: const EdgeInsets.all(0), child: RawMaterialButton(