Files
NetNewsWire/Shared/MarkReadBehavior.swift
T

23 lines
564 B
Swift

//
// MarkReadBehavior.swift
// NetNewsWire
//
// Created by Brent Simmons on 12/5/26.
//
import Foundation
extension Notification.Name {
static let markReadBehaviorDidChange = Notification.Name("MarkReadBehaviorDidChangeNotification")
}
/// When articles are marked read without the user marking them.
enum MarkReadBehavior: Int, CaseIterable, Codable {
/// Only when the user marks them read.
case manual = 0
/// When selected.
case selection = 1
/// When selected, and when scrolled off the top of the timeline.
case selectionAndScrolledPast = 2
}