Fix issue with notification from previous account displayed after logout

This commit is contained in:
Benoit Marty 2019-07-04 15:23:59 +02:00
parent f2a52f0253
commit c21b9df9a5

View File

@ -56,6 +56,7 @@ class SignOutUiWorker(private val activity: FragmentActivity) {
private fun doSignOut() {
// Dismiss all notifications
notificationDrawerManager.clearAllEvents()
notificationDrawerManager.persistInfo()
MainActivity.restartApp(activity, clearCache = true, clearCredentials = true)
}