mirror of
https://github.com/vector-im/element-android.git
synced 2024-11-16 02:05:06 +08:00
Fix issue with notification from previous account displayed after logout
This commit is contained in:
parent
f2a52f0253
commit
c21b9df9a5
@ -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)
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user