캔 아이콘 변경
This commit is contained in:
@@ -11,6 +11,7 @@ import Kingfisher
|
||||
|
||||
struct LiveRoomTopCreatorView: View {
|
||||
|
||||
let creatorId: Int
|
||||
var nickname: String
|
||||
var profileImageUrl: String
|
||||
var isFollowing: Bool
|
||||
@@ -34,8 +35,10 @@ struct LiveRoomTopCreatorView: View {
|
||||
|
||||
Spacer()
|
||||
|
||||
Image(isFollowing ? "btn_following" : "btn_follow")
|
||||
.onTapGesture { onClickFollow(isFollowing) }
|
||||
if creatorId != UserDefaults.int(forKey: .userId) {
|
||||
Image(isFollowing ? "btn_following" : "btn_follow")
|
||||
.onTapGesture { onClickFollow(isFollowing) }
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user