damus

nostr ios client
git clone git://jb55.com/damus
Log | Files | Refs | README | LICENSE

commit e07b31e0a19d3d6e81829d7f113af8080b13d7f3
parent 00c819140b6f96e0fb4d4574f5a7f39eb4323cb8
Author: OlegAba <mail@olegaba.com>
Date:   Tue, 17 Jan 2023 13:06:10 -0500

Consistent follow/unfollow button width

Changelog-Fixed: Make follow/unfollow button a consistent width

Diffstat:
Mdamus/Views/FollowButtonView.swift | 3+--
1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/damus/Views/FollowButtonView.swift b/damus/Views/FollowButtonView.swift @@ -19,8 +19,7 @@ struct FollowButtonView: View { follow_state = perform_follow_btn_action(follow_state, target: target) } label: { Text(follow_btn_txt(follow_state)) - .frame(height: 30) - .padding(.horizontal, 25) + .frame(width: 105, height: 30) //.padding(.vertical, 10) .font(.caption.weight(.bold)) .foregroundColor(follow_state == .unfollows ? filledTextColor() : borderColor())