aligment receive ui

This commit is contained in:
vekamo 2024-12-21 14:14:41 +01:00
parent f05631a14e
commit e60b3600c1

View file

@ -379,7 +379,7 @@ class _DesktopReceiveState extends ConsumerState<DesktopReceive> {
children: [ children: [
if (isMimblewimblecoin) if (isMimblewimblecoin)
Padding( Padding(
padding: const EdgeInsets.all(16.0), padding: const EdgeInsets.all(0),
child: Container( child: Container(
decoration: BoxDecoration( decoration: BoxDecoration(
color: Theme.of(context).extension<StackColors>()?.textFieldDefaultBG ?? Colors.white, // Fallback color color: Theme.of(context).extension<StackColors>()?.textFieldDefaultBG ?? Colors.white, // Fallback color
@ -401,7 +401,9 @@ class _DesktopReceiveState extends ConsumerState<DesktopReceive> {
), ),
), ),
), ),
const SizedBox(
height: 20,
),
ConditionalParent( ConditionalParent(
condition: showMultiType, condition: showMultiType,
builder: (child) => Column( builder: (child) => Column(
@ -585,7 +587,7 @@ class _DesktopReceiveState extends ConsumerState<DesktopReceive> {
label: "Generate new address", label: "Generate new address",
), ),
const SizedBox( const SizedBox(
height: 32, height: 20,
), ),
if (isMimblewimblecoin && _selectedMethodMwc == 'Slatepack') if (isMimblewimblecoin && _selectedMethodMwc == 'Slatepack')
Column( Column(
@ -593,7 +595,7 @@ class _DesktopReceiveState extends ConsumerState<DesktopReceive> {
children: [ children: [
// Label Text // Label Text
Text( Text(
"Send to", "Receive Slatepack",
style: STextStyles.desktopTextExtraSmall(context).copyWith( style: STextStyles.desktopTextExtraSmall(context).copyWith(
color: Theme.of(context) color: Theme.of(context)
.extension<StackColors>()! .extension<StackColors>()!
@ -728,7 +730,7 @@ class _DesktopReceiveState extends ConsumerState<DesktopReceive> {
padding: const EdgeInsets.symmetric(horizontal: 8.0), padding: const EdgeInsets.symmetric(horizontal: 8.0),
child: PrimaryButton( child: PrimaryButton(
buttonHeight: ButtonHeight.l, buttonHeight: ButtonHeight.l,
label: "Submit", label: "Preview Receive Slatepack",
enabled: true, enabled: true,
onPressed: () { onPressed: () {
debugPrint('Submit button pressed for Mimblewimblecoin Slatepack'); debugPrint('Submit button pressed for Mimblewimblecoin Slatepack');