From d83333ab70559025307b0207820f5933d7757c19 Mon Sep 17 00:00:00 2001 From: Krystof Woldrich Date: Wed, 19 Jun 2024 17:15:48 +0200 Subject: [PATCH] fix for macos sample --- samples/react-native/src/App.tsx | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/samples/react-native/src/App.tsx b/samples/react-native/src/App.tsx index 223adfb5e8..2a22ea85c7 100644 --- a/samples/react-native/src/App.tsx +++ b/samples/react-native/src/App.tsx @@ -239,6 +239,10 @@ function BottomTabs() { } function RunningIndicator() { + if (Platform.OS !== 'android' && Platform.OS !== 'ios') { + return null; + } + const sv = useSharedValue(0); React.useEffect(() => {