refactor(utils): Remove redundant shortcut code

This commit is contained in:
Cian Ormond
2026-03-29 15:27:37 -04:00
committed by Inhishonor
parent de6015a478
commit d59deeb831
5 changed files with 59 additions and 80 deletions
@@ -223,7 +223,7 @@ class ReceiveMmsWorker(appContext: Context, workerParams: WorkerParameters)
// update shortcuts
Timber.v("update shortcuts")
shortcutManager.updateShortcuts()
shortcutManager.reportShortcutUsed(conversation.id)
shortcutManager.getOrCreateShortcut(conversation.id)
// update the badge and widget
Timber.v("update badge and widget")
@@ -120,7 +120,7 @@ class ReceiveSmsWorker(appContext: Context, workerParams: WorkerParameters)
// update shortcuts
Timber.v("update shortcuts")
shortcutManager.updateShortcuts()
shortcutManager.reportShortcutUsed(conversation.id)
shortcutManager.getOrCreateShortcut(conversation.id)
// update the badge and widget
Timber.v("update badge and widget")