mirror of
https://github.com/yattee/yattee.git
synced 2025-11-01 13:12:04 +00:00
Video details toolbar and inspector settings
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
import Defaults
|
||||
import Foundation
|
||||
|
||||
struct VideoDetailsTool: Identifiable {
|
||||
@@ -18,7 +19,7 @@ struct VideoDetailsTool: Identifiable {
|
||||
case .info:
|
||||
return video != nil && !video!.isLocal
|
||||
case .inspector:
|
||||
return false
|
||||
return video == nil || Defaults[.showInspector] == .always || video!.isLocal
|
||||
case .chapters:
|
||||
return video != nil && !video!.chapters.isEmpty
|
||||
case .comments:
|
||||
|
||||
Reference in New Issue
Block a user