-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
a29a5f5
commit 1343350
Showing
6 changed files
with
87 additions
and
91 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,46 +1,44 @@ | ||
import {createAppContainer, createSwitchNavigator } from 'react-navigation'; | ||
import LoginScreen from './components/login'; | ||
import {createAppContainer, createSwitchNavigator} from 'react-navigation'; | ||
import LoginScreen from './screens/login'; | ||
import {createStackNavigator} from 'react-navigation-stack'; | ||
import CalendarScreen from './components/calendar'; | ||
import AlarmScreen from './components/alarm'; | ||
import AlarmRingingScreen from './components/alarmRinging'; | ||
import EventScreen from './components/event'; | ||
import CalendarScreen from './screens/calendar'; | ||
import AlarmScreen from './screens/alarm'; | ||
import AlarmRingingScreen from './screens/alarmRinging'; | ||
import EventScreen from './screens/event'; | ||
|
||
const AuthStack = createStackNavigator( | ||
{ | ||
Login: LoginScreen, | ||
}, | ||
{ | ||
headerMode: "none", | ||
initialRouteName: "Login" | ||
} | ||
); | ||
{ | ||
Login: LoginScreen, | ||
}, | ||
{ | ||
headerMode: 'none', | ||
initialRouteName: 'Login', | ||
}, | ||
); | ||
|
||
const AppStack = createStackNavigator( | ||
{ | ||
{ | ||
Alarm: AlarmScreen, | ||
AlarmRinging: AlarmRingingScreen, | ||
Calendar: CalendarScreen, | ||
Event: EventScreen, | ||
}, | ||
{ | ||
initialRouteName: "Alarm", | ||
initialRouteName: "AlarmRinging", | ||
initialRouteName: "Calendar", | ||
//aheaderMode: "none" | ||
} | ||
}, | ||
{ | ||
initialRouteName: 'Alarm', | ||
initialRouteName: 'AlarmRinging', | ||
initialRouteName: 'Calendar', | ||
}, | ||
); | ||
|
||
|
||
export default createAppContainer( | ||
createSwitchNavigator( | ||
{ | ||
App: AppStack, | ||
Auth: AuthStack, | ||
//Calendar: CalendarScreen, | ||
}, | ||
{ | ||
initialRouteName: "Auth" | ||
} | ||
) | ||
); | ||
createSwitchNavigator( | ||
{ | ||
App: AppStack, | ||
Auth: AuthStack, | ||
//Calendar: CalendarScreen, | ||
}, | ||
{ | ||
initialRouteName: 'App', | ||
}, | ||
), | ||
); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 2 additions & 2 deletions
4
Routinely/app/components/alarmRinging.js → Routinely/app/screens/alarmRinging.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters