Flush TimelineStringFormatter cache when moving to the background

This commit is contained in:
Maurice Parker 2019-10-18 15:26:37 -05:00
parent e54cb90295
commit d26186ee9b

View File

@ -52,6 +52,7 @@ class SceneDelegate: UIResponder, UIWindowSceneDelegate {
} }
func sceneDidEnterBackground(_ scene: UIScene) { func sceneDidEnterBackground(_ scene: UIScene) {
TimelineStringFormatter.emptyCaches()
appDelegate.prepareAccountsForBackground() appDelegate.prepareAccountsForBackground()
} }