mirror of
https://github.com/yattee/yattee.git
synced 2025-10-10 09:28:15 +00:00
Video details changes and channel sheet
This commit is contained in:
@@ -6,7 +6,7 @@ struct InspectorView: View {
|
||||
@ObservedObject private var player = PlayerModel.shared
|
||||
|
||||
var body: some View {
|
||||
ScrollView {
|
||||
Section(header: header) {
|
||||
VStack(alignment: .leading, spacing: 12) {
|
||||
if let video {
|
||||
VStack(spacing: 4) {
|
||||
@@ -53,10 +53,14 @@ struct InspectorView: View {
|
||||
NoCommentsView(text: "Not playing", systemImage: "stop.circle.fill")
|
||||
}
|
||||
}
|
||||
.padding(.top, 60)
|
||||
.padding(.bottom, 50)
|
||||
}
|
||||
.padding(.horizontal)
|
||||
}
|
||||
|
||||
var header: some View {
|
||||
Text("Inspector")
|
||||
.font(.caption)
|
||||
.foregroundColor(.secondary)
|
||||
.frame(maxWidth: .infinity, alignment: .leading)
|
||||
}
|
||||
|
||||
@ViewBuilder func videoDetailGroupHeading(_ heading: String, image systemName: String? = nil) -> some View {
|
||||
|
Reference in New Issue
Block a user