This commit is contained in:
Jakob Haider 2024-03-05 13:40:54 +01:00
parent b6ae8038ae
commit 09ca9069ee

View File

@ -106,7 +106,7 @@ internal class AppShortcutsModule(reactContext: ReactApplicationContext) : React
.setAction(Intent.ACTION_VIEW)
}
// It is important to add the extra as PeristableBundle instead of Parcelable,
// It is important to add the extra as PersistableBundle instead of Parcelable,
// because otherwise the ShortcutInfoManagerCompat throws an error when registering the shortcut.
intent.putExtra(SHORTCUT_ITEM, item.toPersistableBundle())