콘텐츠 플레이어

- 재생목록 보일 때 제목과 크리에이터 영역까지 재생목록이 차지하도록 수정
This commit is contained in:
Yu Sung 2025-02-26 16:57:48 +09:00
parent 5f7337bcdc
commit 7b3a3d2a80
1 changed files with 22 additions and 20 deletions

View File

@ -26,28 +26,30 @@ struct ContentPlayerView: View {
.onTapGesture { isShowing = false }
}
Text(playerManager.title)
.font(.custom(Font.medium.rawValue, size: 16))
.foregroundColor(.grayee)
.frame(maxWidth: .infinity, alignment: .leading)
.padding(.top, 16)
HStack(spacing: 5.3) {
KFImage(URL(string: playerManager.creatorProfileUrl))
.cancelOnDisappear(true)
.downsampling(size: CGSize(width: 26.7, height: 26.7))
.resizable()
.scaledToFill()
.frame(width: 26.7, height: 26.7)
.clipShape(Circle())
if !playerManager.isShowPlaylist {
Text(playerManager.title)
.font(.custom(Font.medium.rawValue, size: 16))
.foregroundColor(.grayee)
.frame(maxWidth: .infinity, alignment: .leading)
.padding(.top, 16)
Text(playerManager.nickname)
.font(.custom(Font.medium.rawValue, size: 13.3))
.foregroundColor(.gray90)
Spacer()
HStack(spacing: 5.3) {
KFImage(URL(string: playerManager.creatorProfileUrl))
.cancelOnDisappear(true)
.downsampling(size: CGSize(width: 26.7, height: 26.7))
.resizable()
.scaledToFill()
.frame(width: 26.7, height: 26.7)
.clipShape(Circle())
Text(playerManager.nickname)
.font(.custom(Font.medium.rawValue, size: 13.3))
.foregroundColor(.gray90)
Spacer()
}
.padding(.top, 21)
}
.padding(.top, 21)
Spacer()