Files
NetNewsWire/Mac/MainWindow/Timeline/TimelineLayout.swift
T

24 lines
499 B
Swift
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
//
// 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 {
var timelineLayout: TimelineLayout {
useColumnLayout ? .column : .standard
}
}