diff --git a/iOS/AppDelegate.swift b/iOS/AppDelegate.swift index a16e92ab2..9f6deb23d 100644 --- a/iOS/AppDelegate.swift +++ b/iOS/AppDelegate.swift @@ -162,13 +162,13 @@ class AppDelegate: UIResponder, UIApplicationDelegate, UNUserNotificationCenterD func prepareAccountsForForeground() { extensionFeedAddRequestFile.resume() - + syncTimer?.update() + if let lastRefresh = AppDefaults.lastRefresh { if Date() > lastRefresh.addingTimeInterval(15 * 60) { AccountManager.shared.refreshAll(errorHandler: ErrorHandler.log) } else { AccountManager.shared.syncArticleStatusAll() - syncTimer?.update() } } else { AccountManager.shared.refreshAll(errorHandler: ErrorHandler.log) diff --git a/iOS/Article/ImageViewController.swift b/iOS/Article/ImageViewController.swift index 79285d4fb..91d8a17d9 100644 --- a/iOS/Article/ImageViewController.swift +++ b/iOS/Article/ImageViewController.swift @@ -29,6 +29,8 @@ class ImageViewController: UIViewController { super.viewDidLoad() closeButton.imageView?.contentMode = .scaleAspectFit + closeButton.accessibilityLabel = NSLocalizedString("Close", comment: "Close") + shareButton.accessibilityLabel = NSLocalizedString("Share", comment: "Share") imageScrollView.setup() imageScrollView.imageScrollViewDelegate = self