mirror of
https://github.com/cypherstack/stack_wallet.git
synced 2024-11-17 09:47:37 +00:00
update button to use proper icons
This commit is contained in:
parent
e8ef0be977
commit
5a77efe5f8
1 changed files with 3 additions and 3 deletions
|
@ -276,16 +276,16 @@ class _PaynymFollowToggleButtonState
|
||||||
|
|
||||||
case PaynymFollowToggleButtonStyle.detailsPopup:
|
case PaynymFollowToggleButtonStyle.detailsPopup:
|
||||||
return SecondaryButton(
|
return SecondaryButton(
|
||||||
label: isFollowing ? "- Unfollow" : "+ Follow",
|
label: isFollowing ? "Unfollow" : "Follow",
|
||||||
buttonHeight: ButtonHeight.l,
|
buttonHeight: ButtonHeight.l,
|
||||||
icon: SvgPicture.asset(
|
icon: SvgPicture.asset(
|
||||||
Assets.svg.user,
|
isFollowing ? Assets.svg.userMinus : Assets.svg.userPlus,
|
||||||
width: 10,
|
width: 10,
|
||||||
height: 10,
|
height: 10,
|
||||||
color:
|
color:
|
||||||
Theme.of(context).extension<StackColors>()!.buttonTextSecondary,
|
Theme.of(context).extension<StackColors>()!.buttonTextSecondary,
|
||||||
),
|
),
|
||||||
iconSpacing: 0,
|
iconSpacing: 4,
|
||||||
onPressed: _onPressed,
|
onPressed: _onPressed,
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue