From 8505d444e29c6451f5737a0f0989c83d971d5580 Mon Sep 17 00:00:00 2001 From: Yu Sung Date: Fri, 12 Apr 2024 16:22:58 +0900 Subject: [PATCH] =?UTF-8?q?=EB=9D=BC=EC=9D=B4=EB=B8=8C=20-=20=EC=8A=A4?= =?UTF-8?q?=ED=94=BC=EC=BB=A4=20=EC=9D=8C=EC=86=8C=EA=B1=B0=20=EB=B2=84?= =?UTF-8?q?=ED=8A=BC=20=EC=9A=B0=EC=B8=A1=20=EC=83=81=EB=8B=A8=EC=9C=BC?= =?UTF-8?q?=EB=A1=9C=20=EC=9D=B4=EB=8F=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Sources/Live/Room/V2/LiveRoomViewV2.swift | 22 ++++++++++--------- 1 file changed, 12 insertions(+), 10 deletions(-) diff --git a/SodaLive/Sources/Live/Room/V2/LiveRoomViewV2.swift b/SodaLive/Sources/Live/Room/V2/LiveRoomViewV2.swift index 2788d9e..15bf8d7 100644 --- a/SodaLive/Sources/Live/Room/V2/LiveRoomViewV2.swift +++ b/SodaLive/Sources/Live/Room/V2/LiveRoomViewV2.swift @@ -166,6 +166,18 @@ struct LiveRoomViewV2: View { .padding(.top, 16) VStack(alignment: .trailing, spacing: 0) { + Image(viewModel.isSpeakerMute ? "ic_speaker_off" : "ic_speaker_on") + .resizable() + .frame(width: 26.7, height: 26.7) + .padding(11) + .background(Color(hex: "525252").opacity(0.6)) + .cornerRadius(10) + .onTapGesture { + viewModel.toggleSpeakerMute() + } + .padding(.top, 26.7) + .padding(.trailing, 13.3) + Spacer() VStack(spacing: 13.3) { @@ -203,16 +215,6 @@ struct LiveRoomViewV2: View { } } - Image(viewModel.isSpeakerMute ? "ic_speaker_off" : "ic_speaker_on") - .resizable() - .frame(width: 26.7, height: 26.7) - .padding(11) - .background(Color(hex: "525252").opacity(0.6)) - .cornerRadius(10) - .onTapGesture { - viewModel.toggleSpeakerMute() - } - if liveRoomInfo.creatorId == UserDefaults.int(forKey: .userId) && UserDefaults.string(forKey: .role) == MemberRole.CREATOR.rawValue { Image("ic_donation_message_list")