mirror of
https://github.com/Ranchero-Software/NetNewsWire
synced 2026-11-28 08:17:16 +00:00
24 lines
506 B
Swift
24 lines
506 B
Swift
//
|
||
// TimelineLayout.swift
|
||
// NetNewsWire
|
||
//
|
||
// Created by Brent Simmons on 9/19/26.
|
||
// Copyright © 2026 Ranchero Software. All rights reserved.
|
||
//
|
||
|
||
import Foundation
|
||
|
||
/// Standard: one custom-drawn column, article view to the right.
|
||
/// Column: multi-column table with a header, article view below, like Mail’s Use Column Layout.
|
||
enum TimelineLayout {
|
||
case standard
|
||
case column
|
||
}
|
||
|
||
extension AppDefaults {
|
||
|
||
static var timelineLayout: TimelineLayout {
|
||
useColumnLayout ? .column : .standard
|
||
}
|
||
}
|