Skip to content

Commit

Permalink
bluecherrydvr#16 Create new screen for the settings and moved date fo…
Browse files Browse the repository at this point in the history
…rmat selection in settings screen also added convert the date and time in local
  • Loading branch information
nileshbhingaradiya committed Sep 28, 2021
1 parent 635c44a commit d298b8a
Show file tree
Hide file tree
Showing 9 changed files with 626 additions and 272 deletions.
12 changes: 11 additions & 1 deletion App.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,9 @@ import {createDrawerNavigator} from '@react-navigation/drawer';
import Orientation from 'react-native-orientation-locker';
import Toast from 'react-native-toast-message';


import ConnectServerScreen from './screens/ConnectServerScreen';
import ServerSettingsScreen from './screens/ServerSettingsScreen';
import SettingsScreen from './screens/SettingsScreen';

import SessionContext from './session-context';
import {CameraScreen, DirectCameraScreen} from './screens/CameraScreen';
Expand Down Expand Up @@ -261,6 +261,16 @@ const App: () => React$Node = () => {
},
}}
/>
<Drawer.Screen
name="Settings"
component={SettingsScreen}
options={{title: 'Settings'}}
listeners={{
focus: () => {
SplashScreen.hide();
},
}}
/>
</Drawer.Navigator>
) : (
<Stack.Navigator>
Expand Down
2 changes: 2 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,13 @@
"@react-navigation/material-top-tabs": "^5.3.13",
"@react-navigation/native": "^5.9.2",
"@react-navigation/stack": "^5.14.2",
"dayjs": "^1.10.7",
"fast-xml-parser": "^3.18.0",
"react": "16.13.1",
"react-native": "0.64.1",
"react-native-gesture-handler": "^1.9.0",
"react-native-get-random-values": "^1.5.1",
"react-native-localize": "^2.1.4",
"react-native-orientation-locker": "^1.2.0",
"react-native-picker-select": "^8.0.4",
"react-native-popup-menu": "^0.15.10",
Expand Down
Loading

0 comments on commit d298b8a

Please sign in to comment.