mirror of
https://github.com/yattee/yattee.git
synced 2026-10-23 13:12:53 +00:00
Configure comments from their row in details panel settings
The separate comments group (pill mode, author avatars) is gone: comments are a row in the pages/sections list whose editor holds both options. Inline-sections hosts list comments as a locked pill row at the bottom; a foldable iPhone in the corner layout lists real pages, including comments and queue in the side column.
This commit is contained in:
@@ -671,14 +671,6 @@ struct PanelSettings: Codable, Hashable, Sendable {
|
||||
#endif
|
||||
}
|
||||
|
||||
/// Page types the settings list hides on this device because the panel
|
||||
/// never renders them as pages: iPhone shows only the info page with
|
||||
/// inline sections, so queue has no effect there and comments live on
|
||||
/// the pill/overlay (configured in their own settings group).
|
||||
static var hiddenSettingsPageTypes: Set<PanelPageType> {
|
||||
isSectionsOnlyDevice ? [.queue, .comments] : []
|
||||
}
|
||||
|
||||
/// Enabled pages an inline-sections host renders below the video info,
|
||||
/// in configured order, with their per-page element settings.
|
||||
func inlineSections(in region: PanelRegion? = nil) -> [PanelPageConfiguration] {
|
||||
|
||||
Reference in New Issue
Block a user