parent
5f7337bcdc
commit
7b3a3d2a80
|
@ -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()
|
||||
|
||||
|
|
Loading…
Reference in New Issue