Implemented Clean Up keyboard shortcut. Issue #1915

This commit is contained in:
Maurice Parker
2020-03-15 18:15:52 -05:00
parent c08b6d1ccc
commit 07042b8a2a
5 changed files with 11 additions and 4 deletions

View File

@@ -135,7 +135,7 @@ class AppDelegate: UIResponder, UIApplicationDelegate, UNUserNotificationCenterD
func manualRefresh(errorHandler: @escaping (Error) -> ()) {
UIApplication.shared.connectedScenes.compactMap( { $0.delegate as? SceneDelegate } ).forEach {
$0.refreshInterface()
$0.cleanUp()
}
AccountManager.shared.refreshAll(errorHandler: errorHandler)
}