Merge pull request #457 from cypherstack/ui-fixes

desktop show more button fix
This commit is contained in:
julian-CStack 2023-04-03 18:43:02 -06:00 committed by GitHub
commit 613e2ad9eb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -355,19 +355,21 @@ class _DesktopWalletFeaturesState extends ConsumerState<DesktopWalletFeatures> {
const SizedBox( const SizedBox(
width: 16, width: 16,
), ),
SecondaryButton( if (showMore)
label: "More", SecondaryButton(
width: buttonWidth, label: "More",
buttonHeight: ButtonHeight.l, width: buttonWidth,
icon: SvgPicture.asset( buttonHeight: ButtonHeight.l,
Assets.svg.bars, icon: SvgPicture.asset(
height: 20, Assets.svg.bars,
width: 20, height: 20,
color: width: 20,
Theme.of(context).extension<StackColors>()!.buttonTextSecondary, color: Theme.of(context)
.extension<StackColors>()!
.buttonTextSecondary,
),
onPressed: () => _onMorePressed(),
), ),
onPressed: () => _onMorePressed(),
),
], ],
); );
} }