- 시그니처 후원 적용
This commit is contained in:
Yu Sung
2024-03-08 01:38:27 +09:00
parent 367be74279
commit 86d4bc1c1e
3 changed files with 30 additions and 1 deletions

View File

@@ -7,6 +7,7 @@
import SwiftUI
import Kingfisher
import SDWebImageSwiftUI
struct LiveRoomViewV2: View {
@@ -241,6 +242,20 @@ struct LiveRoomViewV2: View {
proxy.scrollTo(viewModel.messages.count - 1, anchor: .center)
}.padding(.bottom, 70)
}
if viewModel.signatureImageUrl.trimmingCharacters(in: .whitespacesAndNewlines).count > 0 {
VStack(spacing: 0) {
Spacer()
AnimatedImage(url: URL(string: viewModel.signatureImageUrl))
.resizable()
.aspectRatio(contentMode: .fit)
.frame(height: 300)
.frame(maxWidth: .infinity)
.padding(.horizontal, 20)
.padding(.bottom, 65)
}
}
}
}