Refresh shortcuts after removing one

This commit is contained in:
MM20
2022-08-05 13:30:53 +02:00
parent 44d4555966
commit bc86a22086
2 changed files with 99 additions and 44 deletions
@@ -29,5 +29,6 @@ class ShortcutItemVM(private val shortcut: AppShortcut) : SearchableItemVM(short
fun deleteShortcut() {
shortcutRepository.removePinnedShortcut(shortcut)
favoritesRepository.unpinItem(shortcut)
}
}