From e60b3600c17c91bcc6fd0ea08e1d4c6f8a66418b Mon Sep 17 00:00:00 2001 From: vekamo Date: Sat, 21 Dec 2024 14:14:41 +0100 Subject: [PATCH] aligment receive ui --- .../wallet_view/sub_widgets/desktop_receive.dart | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/lib/pages_desktop_specific/my_stack_view/wallet_view/sub_widgets/desktop_receive.dart b/lib/pages_desktop_specific/my_stack_view/wallet_view/sub_widgets/desktop_receive.dart index de9682b9e..b9ef65119 100644 --- a/lib/pages_desktop_specific/my_stack_view/wallet_view/sub_widgets/desktop_receive.dart +++ b/lib/pages_desktop_specific/my_stack_view/wallet_view/sub_widgets/desktop_receive.dart @@ -379,7 +379,7 @@ class _DesktopReceiveState extends ConsumerState { children: [ if (isMimblewimblecoin) Padding( - padding: const EdgeInsets.all(16.0), + padding: const EdgeInsets.all(0), child: Container( decoration: BoxDecoration( color: Theme.of(context).extension()?.textFieldDefaultBG ?? Colors.white, // Fallback color @@ -401,7 +401,9 @@ class _DesktopReceiveState extends ConsumerState { ), ), ), - + const SizedBox( + height: 20, + ), ConditionalParent( condition: showMultiType, builder: (child) => Column( @@ -585,7 +587,7 @@ class _DesktopReceiveState extends ConsumerState { label: "Generate new address", ), const SizedBox( - height: 32, + height: 20, ), if (isMimblewimblecoin && _selectedMethodMwc == 'Slatepack') Column( @@ -593,7 +595,7 @@ class _DesktopReceiveState extends ConsumerState { children: [ // Label Text Text( - "Send to", + "Receive Slatepack", style: STextStyles.desktopTextExtraSmall(context).copyWith( color: Theme.of(context) .extension()! @@ -728,7 +730,7 @@ class _DesktopReceiveState extends ConsumerState { padding: const EdgeInsets.symmetric(horizontal: 8.0), child: PrimaryButton( buttonHeight: ButtonHeight.l, - label: "Submit", + label: "Preview Receive Slatepack", enabled: true, onPressed: () { debugPrint('Submit button pressed for Mimblewimblecoin Slatepack');