From 3c95bb102422e0334be3ab90ae24f5af4d01c1fe Mon Sep 17 00:00:00 2001 From: Jack Matthews Date: Mon, 16 Jan 2023 01:08:46 -0500 Subject: [PATCH] [Metro > Common] Switch clipboard to @react-native-clipboard/clipboard This library has added functionality, and the included clipboard is deprecated. --- src/lib/metro/common.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/metro/common.ts b/src/lib/metro/common.ts index be3c260..ffcd81f 100644 --- a/src/lib/metro/common.ts +++ b/src/lib/metro/common.ts @@ -7,7 +7,7 @@ export const i18n = findByProps("Messages"); export const url = findByProps("openURL"); export const toasts = find(m => m.open && m.close && !m.startDrag && !m.init && !m.openReplay && !m.setAlwaysOnTop); export const stylesheet = findByProps("createThemedStyleSheet"); -export const clipboard = findByProps("setString", "getString"); +export const clipboard = findByProps("setString", "getString", "hasString"); export const assets = findByProps("registerAsset"); export const navigation = findByProps("pushLazy"); export const navigationStack = findByProps("createStackNavigator");