forked from upstream-mirrors/quik
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