diff --git a/index.ios.js b/index.ios.js
index 9049f9d..6de6f91 100644
--- a/index.ios.js
+++ b/index.ios.js
@@ -1,70 +1,5 @@
-// /**
-// * Sample React Native App
-// * https://github.com/facebook/react-native
-// * @flow
-// */
-
-// import React, { Component } from 'react';
-// import {
-// AppRegistry,
-// StyleSheet,
-// Text,
-// View
-// } from 'react-native';
-
-// export default class AreThereCookies extends Component {
-// render() {
-// return (
-//
-//
-// Welcome to React Native!
-//
-//
-// To get started, edit index.ios.js
-//
-//
-// Press Cmd+R to reload,{'\n'}
-// Cmd+D or shake for dev menu
-//
-//
-// );
-// }
-// }
-
-// const styles = StyleSheet.create({
-// container: {
-// flex: 1,
-// justifyContent: 'center',
-// alignItems: 'center',
-// backgroundColor: '#F5FCFF',
-// },
-// welcome: {
-// fontSize: 20,
-// textAlign: 'center',
-// margin: 10,
-// },
-// instructions: {
-// textAlign: 'center',
-// color: '#333333',
-// marginBottom: 5,
-// },
-// });
-
-// AppRegistry.registerComponent('AreThereCookies', () => AreThereCookies);
-
import React, { Component } from 'react';
import { AppRegistry, UIManager, Text, View } from 'react-native';
-
-// UIManager.setLayoutAnimationEnabledExperimental && UIManager.setLayoutAnimationEnabledExperimental(true);
-
-// class Dummy extends Component {
-// render() {
-// return Aretherecookies?
-// }
-// }
-
-// AppRegistry.registerComponent('AreThereCookies', () => Dummy);
-
import App from './js/App';
UIManager.setLayoutAnimationEnabledExperimental && UIManager.setLayoutAnimationEnabledExperimental(true);
diff --git a/js/components/TopToolbar.js b/js/components/TopToolbar.js
index 418b54a..bf9ee8d 100644
--- a/js/components/TopToolbar.js
+++ b/js/components/TopToolbar.js
@@ -1,6 +1,6 @@
// @flow
import React, { Component } from 'react';
-import { View, TextInput, TouchableOpacity } from 'react-native';
+import { View, TextInput, TouchableOpacity, SafeAreaView } from 'react-native';
import { Toolbar, Icon } from 'react-native-material-ui';
import { path } from 'ramda';
import queryString from 'query-string';
@@ -69,6 +69,7 @@ class TopToolbar extends Component {
return (
+
{!showSearch && (
)}
+
);
}
diff --git a/js/pages/Nav.js b/js/pages/Nav.js
index 5a5d366..01c79bb 100644
--- a/js/pages/Nav.js
+++ b/js/pages/Nav.js
@@ -1,6 +1,6 @@
// @flow
import React from 'react';
-import { View } from 'react-native';
+import { View, SafeAreaView } from 'react-native';
import Food from './Food';
import Places from './Places';
import { BottomNavigation } from 'react-native-material-ui';
@@ -26,27 +26,28 @@ const Nav = ({ activeTab, setRoute }: Props) => {
{activeTab === 'places' && }
{activeTab === 'profile' && }
-
-
-
- {/* */}
-
-
+
+
+
+
+
+
+
);
};
diff --git a/js/ui-theme.js b/js/ui-theme.js
index d0f0e7b..ce54cc9 100644
--- a/js/ui-theme.js
+++ b/js/ui-theme.js
@@ -138,6 +138,13 @@ export default {
container: {
justifyContent: 'space-around',
alignItems: 'baseline',
+ borderWidth: 0,
+ shadowOffset: {
+ height: -2,
+ width: 0,
+ },
+ shadowRadius: 2,
+ shadowColor: 'black',
},
},
bottomNavigationAction: {