Commit f06a1fd6 by OuiAtichat

update sync style ios and android

parent 88d1f2b1
...@@ -224,7 +224,7 @@ const IntroStack = createStackNavigator( ...@@ -224,7 +224,7 @@ const IntroStack = createStackNavigator(
}, },
{ {
initialRouteName: 'Login', initialRouteName: 'Login',
defaultNavigationOptions: { headerStyle: { borderColor: 'transparent', elevation: 0 } }, defaultNavigationOptions: { headerStyle: { borderColor: 'transparent', elevation: 0, borderBottomWidth: 0 } },
} }
); );
......
...@@ -368,6 +368,7 @@ export default class TimerScreen extends Component { ...@@ -368,6 +368,7 @@ export default class TimerScreen extends Component {
return ( return (
<> <>
<Tabs <Tabs
locked
tabBarUnderlineStyle={{ backgroundColor: 'transparent' }} tabBarUnderlineStyle={{ backgroundColor: 'transparent' }}
renderTabBar={() => <ScrollableTab style={{ backgroundColor: color.white, borderWidth: 0 }} />} renderTabBar={() => <ScrollableTab style={{ backgroundColor: color.white, borderWidth: 0 }} />}
locked locked
......
...@@ -16,7 +16,7 @@ const email = value => ...@@ -16,7 +16,7 @@ const email = value =>
export default class ForgotPasswordScreen extends Component { export default class ForgotPasswordScreen extends Component {
static navigationOptions = ({ navigation }) => ({ static navigationOptions = ({ navigation }) => ({
title: undefined, title: undefined,
headerStyle: { borderBottomWidth: 0 }, // headerStyle: { borderBottomWidth: 0 },
headerLeft: ( headerLeft: (
<HeaderButtons HeaderButtonComponent={IoniconsHeaderButton}> <HeaderButtons HeaderButtonComponent={IoniconsHeaderButton}>
<Item title="back" iconName="ios-arrow-back" onPress={() => navigation.goBack()} dark /> <Item title="back" iconName="ios-arrow-back" onPress={() => navigation.goBack()} dark />
......
import React, { Component } from 'react'; import React, { Component } from 'react';
import { Container, Text, CheckBox, Icon } from 'native-base'; import { Container, Text, CheckBox, Icon } from 'native-base';
import { color, theme } from '../../constants/Styles'; import { color, theme } from '../../constants/Styles';
import { KeyboardAvoidingView, View, ScrollView } from 'react-native'; import { Platform, View, ScrollView } from 'react-native';
import RegisterForm from '../../components/Form/RegisterForm'; import RegisterForm from '../../components/Form/RegisterForm';
import { HeaderButtons, Item } from 'react-navigation-header-buttons'; import { HeaderButtons, Item } from 'react-navigation-header-buttons';
import IoniconsHeaderButton from '../../components/IoniconsHeaderButton'; import IoniconsHeaderButton from '../../components/IoniconsHeaderButton';
...@@ -9,7 +9,7 @@ import IoniconsHeaderButton from '../../components/IoniconsHeaderButton'; ...@@ -9,7 +9,7 @@ import IoniconsHeaderButton from '../../components/IoniconsHeaderButton';
export default class RegisterScreen extends Component { export default class RegisterScreen extends Component {
static navigationOptions = ({ navigation }) => ({ static navigationOptions = ({ navigation }) => ({
title: undefined, title: undefined,
headerStyle: { borderBottomWidth: 0 },
headerLeft: ( headerLeft: (
<HeaderButtons HeaderButtonComponent={IoniconsHeaderButton}> <HeaderButtons HeaderButtonComponent={IoniconsHeaderButton}>
<Item title="back" iconName="ios-arrow-back" onPress={() => navigation.goBack()} dark /> <Item title="back" iconName="ios-arrow-back" onPress={() => navigation.goBack()} dark />
......
...@@ -14,6 +14,7 @@ const styles = StyleSheet.create({ ...@@ -14,6 +14,7 @@ const styles = StyleSheet.create({
textAlign: 'center', textAlign: 'center',
}, },
}); });
export default class SendEmailScreen extends Component { export default class SendEmailScreen extends Component {
static navigationOptions = ({ navigation }) => ({ static navigationOptions = ({ navigation }) => ({
// title: undefined, // title: undefined,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment