From 30474c19bb9e99020f82c2dad37061dc7f206448 Mon Sep 17 00:00:00 2001 From: mudabbir-ahmad Date: Sun, 7 Dec 2025 20:47:28 +0000 Subject: [PATCH] made it so there is no hamburger menu instead the user swips to open the drawer, issue for those android devices with no soft/hard buttons, gesture controls take over and utilise the android back feature rather than the app's swipe to open drawer, however works fine on other devices that use soft coded / hard buttons. --- App.js | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) diff --git a/App.js b/App.js index 1cc32ee..38df634 100644 --- a/App.js +++ b/App.js @@ -9,6 +9,7 @@ import UserViewScreen from "./src/components/screens/UserViewScreen"; import UserAddScreen from "./src/components/screens/UserAddScreen"; import UserListScreen from "./src/components/screens/UserListScreen"; import {createDrawerNavigator} from '@react-navigation/drawer'; +import {StyleSheet} from "react-native"; const Drawer = createDrawerNavigator(); const Stack = createNativeStackNavigator(); @@ -17,12 +18,14 @@ const ModuleStack = () => ( ( const UserStack = () => ( {