라이브 룸 - 라이브 크리에이터 프로필 영역에 팔로우 버튼 제거

This commit is contained in:
Yu Sung
2026-02-04 16:58:14 +09:00
parent 3456510eec
commit 3590db82be
4 changed files with 4 additions and 36 deletions

View File

@@ -16,11 +16,7 @@ struct LiveRoomInfoCreatorView: View {
let isMute: Bool
let isAdult: Bool
let isFollowing: Bool
let isActiveSpeaker: Bool
let isShowFollowingButton: Bool
let onClickFollow: () -> Void
let onClickProfile: () -> Void
var body: some View {
@@ -59,17 +55,10 @@ struct LiveRoomInfoCreatorView: View {
.foregroundColor(.grayee)
.lineLimit(1)
HStack(spacing: 5.3) {
Text(creatorNickname)
.appFont(size: 12, weight: .medium)
.foregroundColor(.gray77)
.lineLimit(1)
if isShowFollowingButton {
Image(isFollowing ? "btn_following" : "btn_follow")
.onTapGesture { onClickFollow() }
}
}
Text(creatorNickname)
.appFont(size: 12, weight: .medium)
.foregroundColor(.gray77)
.lineLimit(1)
}
}
.padding(8)
@@ -89,10 +78,7 @@ struct LiveRoomInfoCreatorView_Previews: PreviewProvider {
creatorProfileUrl: "https://cf.sodalive.net/profile/26/26-profile-ddf78b4d-0300-4c50-9c84-5d8a95fd5fe2-4892-1705256364320",
isMute: false,
isAdult: false,
isFollowing: true,
isActiveSpeaker: true,
isShowFollowingButton: true,
onClickFollow: {},
onClickProfile: {}
)
}