All current notifications were dismissed by mistake when the app is launched from the launcher

This commit is contained in:
Benoit Marty 2019-09-16 19:24:52 +02:00
parent 384dd100e9
commit 3485f023b0
2 changed files with 2 additions and 1 deletions

View file

@ -15,6 +15,7 @@ Bugfix:
- Fix crash due to missing informationData (#535)
- Progress in initial sync dialog is decreasing for a step and should not (#532)
- Fix rendering issue of accepted third party invitation event
- All current notifications were dismissed by mistake when the app is launched from the launcher
Translations:
-

View file

@ -111,7 +111,7 @@ class HomeActivity : VectorBaseActivity(), ToolbarConfigurable {
}
}
if (intent.hasExtra(EXTRA_CLEAR_EXISTING_NOTIFICATION)) {
if (intent.getBooleanExtra(EXTRA_CLEAR_EXISTING_NOTIFICATION, false)) {
notificationDrawerManager.clearAllEvents()
intent.removeExtra(EXTRA_CLEAR_EXISTING_NOTIFICATION)
}