Use proper method to clear notification actions

This commit is contained in:
arkon
2021-01-21 18:21:21 -05:00
parent db2dd4b6c6
commit cf7ec6aa76
3 changed files with 4 additions and 21 deletions

View File

@@ -60,9 +60,7 @@ class SaveImageNotifier(private val context: Context) {
setAutoCancel(true)
// Clear old actions if they exist
if (mActions.isNotEmpty()) {
mActions.clear()
}
clearActions()
setContentIntent(NotificationHandler.openImagePendingActivity(context, file))
// Share action