diff --git a/SodaLive/Sources/Content/Player/ContentPlayerView.swift b/SodaLive/Sources/Content/Player/ContentPlayerView.swift index ea4fbab..f9777c5 100644 --- a/SodaLive/Sources/Content/Player/ContentPlayerView.swift +++ b/SodaLive/Sources/Content/Player/ContentPlayerView.swift @@ -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()