라이브 - 배경이미지 상단정렬

This commit is contained in:
Yu Sung 2024-01-18 18:20:28 +09:00
parent 6c152650a1
commit a1f9d0d29c
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 { ZStack(alignment: .top) {
if viewModel.isBgOn { if viewModel.isBgOn {
KFImage(URL(string: liveRoomInfo.coverImageUrl)) KFImage(URL(string: liveRoomInfo.coverImageUrl))
.resizable() .resizable()
.scaledToFit() .scaledToFit()
.frame(maxWidth: .infinity, maxHeight: .infinity) .frame(maxWidth: .infinity)
} }
Rectangle() Rectangle()