This repository has been archived by the owner on Apr 14, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* center map around park instead of user * ui tweaks * make drawer draggy
- Loading branch information
1 parent
ee8fac8
commit b117932
Showing
8 changed files
with
260 additions
and
219 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
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
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,12 +1,20 @@ | ||
import { Dimensions } from 'react-native'; | ||
import { Dimensions } from "react-native"; | ||
import { Header } from "react-navigation"; | ||
|
||
const width = Dimensions.get('window').width; | ||
const height = Dimensions.get('window').height; | ||
const width = Dimensions.get("window").width; | ||
const height = Dimensions.get("window").height; | ||
|
||
export default { | ||
window: { | ||
width, | ||
height, | ||
height | ||
}, | ||
isSmallDevice: width < 375, | ||
header: { | ||
height: Header.HEIGHT | ||
}, | ||
drawer: { | ||
height: height - Header.HEIGHT, | ||
width | ||
}, | ||
isSmallDevice: width < 375 | ||
}; |
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,8 +1,8 @@ | ||
export default { | ||
defaultRegion: { | ||
latitude: 0, | ||
longitude: 0, | ||
latitudeDelta: 0, | ||
longitudeDelta: 0 | ||
latitude: 43.703805, | ||
longitude: -79.343568, | ||
latitudeDelta: 0.0043, | ||
longitudeDelta: 0.0034 | ||
} | ||
}; |
Oops, something went wrong.