From e07b31e0a19d3d6e81829d7f113af8080b13d7f3 Mon Sep 17 00:00:00 2001 From: OlegAba Date: Tue, 17 Jan 2023 13:06:10 -0500 Subject: [PATCH] Consistent follow/unfollow button width Changelog-Fixed: Make follow/unfollow button a consistent width --- damus/Views/FollowButtonView.swift | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/damus/Views/FollowButtonView.swift b/damus/Views/FollowButtonView.swift index 74ee5e8..40f3868 100644 --- 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())