From 11420ccfdfc822072429a163b3edc3f8458497ca Mon Sep 17 00:00:00 2001 From: Wilson Date: Sat, 20 Mar 2021 18:37:36 +0800 Subject: [PATCH] fix deleteItemsWithIdentifiers (#25) --- index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.js b/index.js index 20b8e11..20b166d 100644 --- a/index.js +++ b/index.js @@ -19,7 +19,7 @@ export default { ios: (items) => SpotlightSearch?.indexItems(items), android: nullFunc }), - deleteItemsWithIds: Platform.select({ + deleteItemsWithIdentifiers: Platform.select({ ios: (ids) => SpotlightSearch?.deleteItemsWithIdentifiers(ids), android: nullFunc }),