Remove some no-longer-needed #available checks.

This commit is contained in:
Brent Simmons
2024-02-27 20:06:57 -08:00
parent 9129cd382c
commit 22f3fb62f8
6 changed files with 37 additions and 77 deletions

View File

@@ -65,9 +65,7 @@ class SceneDelegate: UIResponder, UIWindowSceneDelegate {
}
func sceneDidEnterBackground(_ scene: UIScene) {
if #available(iOS 14, *) {
try? WidgetDataEncoder.shared.encodeWidgetData()
}
try? WidgetDataEncoder.shared.encodeWidgetData()
ArticleStringFormatter.emptyCaches()
appDelegate.prepareAccountsForBackground()
}