Consistent follow/unfollow button width
Changelog-Fixed: Make follow/unfollow button a consistent width
This commit is contained in:
@@ -19,8 +19,7 @@ struct FollowButtonView: View {
|
|||||||
follow_state = perform_follow_btn_action(follow_state, target: target)
|
follow_state = perform_follow_btn_action(follow_state, target: target)
|
||||||
} label: {
|
} label: {
|
||||||
Text(follow_btn_txt(follow_state))
|
Text(follow_btn_txt(follow_state))
|
||||||
.frame(height: 30)
|
.frame(width: 105, height: 30)
|
||||||
.padding(.horizontal, 25)
|
|
||||||
//.padding(.vertical, 10)
|
//.padding(.vertical, 10)
|
||||||
.font(.caption.weight(.bold))
|
.font(.caption.weight(.bold))
|
||||||
.foregroundColor(follow_state == .unfollows ? filledTextColor() : borderColor())
|
.foregroundColor(follow_state == .unfollows ? filledTextColor() : borderColor())
|
||||||
|
|||||||
Reference in New Issue
Block a user