forked from GitHub-Mirror/riotX-android
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