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(
width: 16,
),
SecondaryButton(
label: "More",
width: buttonWidth,
buttonHeight: ButtonHeight.l,
icon: SvgPicture.asset(
Assets.svg.bars,
height: 20,
width: 20,
color:
Theme.of(context).extension<StackColors>()!.buttonTextSecondary,
if (showMore)
SecondaryButton(
label: "More",
width: buttonWidth,
buttonHeight: ButtonHeight.l,
icon: SvgPicture.asset(
Assets.svg.bars,
height: 20,
width: 20,
color: Theme.of(context)
.extension<StackColors>()!
.buttonTextSecondary,
),
onPressed: () => _onMorePressed(),
),
onPressed: () => _onMorePressed(),
),
],
);
}