mirror of
https://github.com/quik-sms/quik.git
synced 2026-11-17 19:38:52 +01:00
refactor(utils): Remove redundant shortcut code
This commit is contained in:
@@ -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")
|
||||
|
||||
Reference in New Issue
Block a user