From 7d34a4e27ae4641b293f897e10dfb0b6f52b4536 Mon Sep 17 00:00:00 2001 From: Yu Sung Date: Thu, 14 Dec 2023 18:51:38 +0900 Subject: [PATCH] =?UTF-8?q?=EB=9D=BC=EC=9D=B4=EB=B8=8C=20=EB=B0=A9=20-=20?= =?UTF-8?q?=EC=B5=9C=EC=83=81=EB=8B=A8=20VStack=EC=9D=84=20LazyVStack?= =?UTF-8?q?=EC=9C=BC=EB=A1=9C=20=EB=B3=80=EA=B2=BD=ED=95=98=EC=97=AC=20?= =?UTF-8?q?=EB=B2=84=ED=8A=BC=EC=9D=B4=20=EC=95=88=EB=88=8C=EB=A6=AC?= =?UTF-8?q?=EB=8D=98=20=EB=B2=84=EA=B7=B8=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- SodaLive/Sources/Live/Room/LiveRoomView.swift | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/SodaLive/Sources/Live/Room/LiveRoomView.swift b/SodaLive/Sources/Live/Room/LiveRoomView.swift index 8cf3ff2..c84319d 100644 --- a/SodaLive/Sources/Live/Room/LiveRoomView.swift +++ b/SodaLive/Sources/Live/Room/LiveRoomView.swift @@ -32,7 +32,7 @@ struct LiveRoomView: View { Color.black.edgesIgnoringSafeArea(.all) VStack(spacing: 0) { - VStack(alignment: .leading, spacing: 0) { + LazyVStack(alignment: .leading, spacing: 0) { HStack(spacing: 6.7) { Text( UserDefaults.int(forKey: .userId) == viewModel.liveRoomInfo?.creatorId ? @@ -276,8 +276,8 @@ struct LiveRoomView: View { ZStack(alignment: .top) { ScrollViewReader { proxy in ZStack(alignment: .bottomTrailing) { - if let liveRoomInfo = viewModel.liveRoomInfo, viewModel.isBgOn { - GeometryReader { proxy in + GeometryReader { proxy in + if let liveRoomInfo = viewModel.liveRoomInfo, viewModel.isBgOn { KFImage(URL(string: liveRoomInfo.coverImageUrl)) .resizable() .scaledToFill()