fix(live-room): 채팅 얼림 버튼 위치와 차단 문구를 정렬한다
This commit is contained in:
@@ -246,18 +246,6 @@ struct LiveRoomViewV2: View {
|
||||
Spacer()
|
||||
|
||||
VStack(spacing: 13.3) {
|
||||
if liveRoomInfo.creatorId == UserDefaults.int(forKey: .userId) {
|
||||
LiveRoomRightBottomButton(
|
||||
imageName: "ic_ice",
|
||||
onClick: {
|
||||
viewModel.setChatFreeze(isChatFrozen: !viewModel.isChatFrozen)
|
||||
},
|
||||
backgroundColor: viewModel.isChatFrozen
|
||||
? Color(hex: "3bb9f1").opacity(0.5)
|
||||
: nil
|
||||
)
|
||||
}
|
||||
|
||||
LiveRoomRightBottomButton(
|
||||
imageName: viewModel.isSpeakerMute ? "ic_speaker_off" : "ic_speaker_on",
|
||||
onClick: { viewModel.toggleSpeakerMute() }
|
||||
@@ -274,6 +262,18 @@ struct LiveRoomViewV2: View {
|
||||
onClick: { viewModel.toggleMute() }
|
||||
)
|
||||
}
|
||||
|
||||
if liveRoomInfo.creatorId == UserDefaults.int(forKey: .userId) {
|
||||
LiveRoomRightBottomButton(
|
||||
imageName: "ic_ice",
|
||||
onClick: {
|
||||
viewModel.setChatFreeze(isChatFrozen: !viewModel.isChatFrozen)
|
||||
},
|
||||
backgroundColor: viewModel.isChatFrozen
|
||||
? Color(hex: "3bb9f1").opacity(0.5)
|
||||
: nil
|
||||
)
|
||||
}
|
||||
|
||||
LiveRoomRightBottomButton(
|
||||
imageName: "ic_donation_message_list",
|
||||
|
||||
Reference in New Issue
Block a user