mirror of
https://github.com/SchildiChat/SchildiChat-android.git
synced 2025-01-20 21:40:56 +01:00
Merge pull request #986 from vector-im/feature/fix_clear_cache_notification_click
Fix crash by removing all notifications after clearing cache.
This commit is contained in:
commit
7c5bb4ff5b
@ -11,7 +11,7 @@ Other changes:
|
||||
-
|
||||
|
||||
Bugfix 🐛:
|
||||
-
|
||||
- Fix crash by removing all notifications after clearing cache (#878)
|
||||
|
||||
Translations 🗣:
|
||||
-
|
||||
|
@ -85,7 +85,7 @@ class MainActivity : VectorBaseActivity() {
|
||||
override fun onCreate(savedInstanceState: Bundle?) {
|
||||
super.onCreate(savedInstanceState)
|
||||
args = parseArgs()
|
||||
if (args.clearCredentials || args.isUserLoggedOut) {
|
||||
if (args.clearCredentials || args.isUserLoggedOut || args.clearCache) {
|
||||
clearNotifications()
|
||||
}
|
||||
// Handle some wanted cleanup
|
||||
|
Loading…
Reference in New Issue
Block a user