라이브 방 - 최상단 VStack을 LazyVStack으로 변경하여 버튼이 안눌리던 버그 수정

This commit is contained in:
Yu Sung 2023-12-14 18:51:38 +09:00
parent e5af4167f8
commit 7d34a4e27a
1 changed files with 3 additions and 3 deletions

View File

@ -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()