From 51f6aec0bc91d36c477dc0f4a6d3cec80e6bed1f Mon Sep 17 00:00:00 2001 From: Devon Date: Mon, 26 Jul 2021 02:40:44 -0700 Subject: [PATCH] Fix type with Platform.OS not including the OS part (doh) --- src/components/Picker.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/Picker.js b/src/components/Picker.js index 6607d4ca..383059c9 100644 --- a/src/components/Picker.js +++ b/src/components/Picker.js @@ -537,7 +537,7 @@ function Picker({ * onLayout. */ const __onLayout = useCallback((e) => { - if(Platform !== "web") + if(Platform.OS !== "web") e.persist(); onLayout(e);