contentShape 추가
This commit is contained in:
@@ -25,6 +25,7 @@ struct LiveRoomTopCreatorView: View {
|
||||
.scaledToFill()
|
||||
.frame(width: 33.3, height: 33.3)
|
||||
.clipShape(Circle())
|
||||
.contentShape(Circle())
|
||||
.onTapGesture { onClickProfile() }
|
||||
|
||||
Image("ic_crown")
|
||||
@@ -37,6 +38,7 @@ struct LiveRoomTopCreatorView: View {
|
||||
|
||||
if creatorId != UserDefaults.int(forKey: .userId) {
|
||||
Image(isFollowing ? "btn_following" : "btn_follow")
|
||||
.contentShape(Rectangle())
|
||||
.onTapGesture { onClickFollow(isFollowing) }
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user