Files
NetNewsWire/iOS/Settings/MarkReadBehavior+Description.swift
T

23 lines
699 B
Swift

//
// MarkReadBehavior+Description.swift
// NetNewsWire
//
// Created by Brent Simmons on 12/5/26.
//
import Foundation
extension MarkReadBehavior: CustomStringConvertible {
var description: String {
switch self {
case .manual:
NSLocalizedString("Manually only", comment: "Mark as Read setting: articles are marked read only by the user")
case .selection:
NSLocalizedString("When selected", comment: "Mark as Read setting: articles are marked read when selected")
case .selectionAndScrolledPast:
NSLocalizedString("When selected or scrolled past", comment: "Mark as Read setting: articles are marked read when selected or when scrolled off the top of the timeline")
}
}
}