Change the move to foreground sync to use the same date to trigger it as the label

This commit is contained in:
Maurice Parker
2022-11-12 19:05:06 -06:00
parent c25252b0af
commit ab8611f2b2
3 changed files with 4 additions and 16 deletions

View File

@@ -53,7 +53,6 @@ final class AppDefaults {
static let articleFullscreenEnabled = "articleFullscreenEnabled"
static let hasUsedFullScreenPreviously = "hasUsedFullScreenPreviously"
static let confirmMarkAllAsRead = "confirmMarkAllAsRead"
static let lastRefresh = "lastRefresh"
static let addWebFeedAccountID = "addWebFeedAccountID"
static let addWebFeedFolderName = "addWebFeedFolderName"
static let addFolderAccountID = "addFolderAccountID"
@@ -196,15 +195,6 @@ final class AppDefaults {
}
}
var lastRefresh: Date? {
get {
return AppDefaults.date(for: Key.lastRefresh)
}
set {
AppDefaults.setDate(for: Key.lastRefresh, newValue)
}
}
var timelineNumberOfLines: Int {
get {
return AppDefaults.int(for: Key.timelineNumberOfLines)