fix: Accidentally used the name as the target's key. Oops

This commit is contained in:
PapaTutuWawa 2023-07-21 22:22:25 +02:00
parent 2486d846e8
commit d5fdbe736b

View File

@ -22,7 +22,7 @@ fun recordSentMessage(context: Context, name: String, jid: String, avatarPath: S
}
val shortcutTarget = "$pkgName.dynamic_share_target"
val shortcutBuilder = ShortcutInfoCompat.Builder(context, name).apply {
val shortcutBuilder = ShortcutInfoCompat.Builder(context, jid).apply {
setShortLabel(name)
setIsConversation()
setCategories(setOf(shortcutTarget))