mirror of
https://github.com/Ranchero-Software/NetNewsWire
synced 2025-08-12 06:26:36 +00:00
27 lines
588 B
Swift
27 lines
588 B
Swift
//
|
|
// AccountDefaults.swift
|
|
// Account
|
|
//
|
|
// Created by Brent Simmons on 7/18/20.
|
|
// Copyright © 2020 Ranchero Software, LLC. All rights reserved.
|
|
//
|
|
|
|
import Foundation
|
|
|
|
struct AccountDefaults {
|
|
|
|
enum Key {
|
|
static let performedApril2020RetentionPolicyChangeKey = "performedApril2020RetentionPolicyChange"
|
|
}
|
|
|
|
var performedApril2020RetentionPolicyChange: Bool {
|
|
get {
|
|
return UserDefaults.standard.bool(forKey: Key.performedApril2020RetentionPolicyChangeKey)
|
|
}
|
|
set {
|
|
UserDefaults.standard.set(newValue, forKey: Key.performedApril2020RetentionPolicyChangeKey)
|
|
}
|
|
}
|
|
}
|
|
|