From 008667c3a2fc7e2ecea0bec63801105042b67ba4 Mon Sep 17 00:00:00 2001 From: Brandon Presley Date: Wed, 16 Nov 2022 18:48:07 +1300 Subject: [PATCH] Disable download/upload on ios --- DrawerMenu.tsx | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/DrawerMenu.tsx b/DrawerMenu.tsx index 0189025..68dd5c9 100644 --- a/DrawerMenu.tsx +++ b/DrawerMenu.tsx @@ -1,5 +1,6 @@ import {NavigationProp, useNavigation} from '@react-navigation/native' import {useCallback, useState} from 'react' +import {Platform} from 'react-native' import DocumentPicker from 'react-native-document-picker' import {FileSystem} from 'react-native-file-access' import {Divider, IconButton, Menu} from 'react-native-paper' @@ -153,8 +154,16 @@ export default function DrawerMenu({name}: {name: keyof DrawerParamList}) { icon="more-vert" /> }> - - + {Platform.OS === 'android' && ( + <> + + + + )}