라이브 배경이미지 - 가운데 정렬

This commit is contained in:
Yu Sung 2024-01-18 18:45:54 +09:00
parent a1f9d0d29c
commit 5437cb07aa
1 changed files with 2 additions and 2 deletions

View File

@ -114,12 +114,12 @@ struct LiveRoomViewV2: View {
ScrollViewReader { proxy in ScrollViewReader { proxy in
ZStack(alignment: .bottom) { ZStack(alignment: .bottom) {
ZStack(alignment: .top) { ZStack {
if viewModel.isBgOn { if viewModel.isBgOn {
KFImage(URL(string: liveRoomInfo.coverImageUrl)) KFImage(URL(string: liveRoomInfo.coverImageUrl))
.resizable() .resizable()
.scaledToFit() .scaledToFit()
.frame(maxWidth: .infinity) .frame(maxWidth: .infinity, maxHeight: .infinity)
} }
Rectangle() Rectangle()