diff --git a/app/src/main/java/com/keylesspalace/tusky/util/ShareShortcutHelper.kt b/app/src/main/java/com/keylesspalace/tusky/util/ShareShortcutHelper.kt index d35e3af5a..44a5e81e0 100644 --- a/app/src/main/java/com/keylesspalace/tusky/util/ShareShortcutHelper.kt +++ b/app/src/main/java/com/keylesspalace/tusky/util/ShareShortcutHelper.kt @@ -89,12 +89,11 @@ class ShareShortcutHelper @Inject constructor( .setCategories(setOf("com.keylesspalace.tusky.Share")) .setShortLabel(account.displayName) .setPerson(person) - .setLongLived(true) .setIcon(icon) .build() } - ShortcutManagerCompat.addDynamicShortcuts(context, shortcuts) + ShortcutManagerCompat.setDynamicShortcuts(context, shortcuts) } }