Archived
Minor improvements
- Android: Add bottom navigation border - chore: fix yarn run warning - Fix logout button regression
This commit is contained in:
1 parent
c0d677bab0
commit
be18b022e4
4 files changed
+154
-6
No files matched your search
+8
-2
@@ -1,6 +1,6 @@
|
||||
import React from 'react';
|
||||
import {connect} from "react-redux";
|
||||
import {Platform} from 'react-native';
|
||||
import {Platform, StyleSheet} from 'react-native';
|
||||
import {TabNavigator, StackNavigator} from "react-navigation";
|
||||
|
||||
import AboutScreen from "./screens/AboutScreen";
|
||||
@@ -22,7 +22,13 @@ const tabBarOptions = {
|
||||
tabBarPosition: 'bottom',
|
||||
tabBarOptions: {
|
||||
style: {
|
||||
backgroundColor: "#fff"
|
||||
...Platform.select({
|
||||
android: {
|
||||
backgroundColor: "#fff",
|
||||
borderTopWidth: StyleSheet.hairlineWidth,
|
||||
borderTopColor: 'rgba(0, 0, 0, 0.1)'
|
||||
}
|
||||
})
|
||||
},
|
||||
indicatorStyle: {
|
||||
backgroundColor: "#f58220"
|
||||
|
||||
@@ -27,7 +27,12 @@ class ProofContainer extends Component {
|
||||
}
|
||||
|
||||
render() {
|
||||
return <Proof {...this.state} user={this.props.user} onChargePress={this.openStripe} />
|
||||
return <Proof
|
||||
{...this.state}
|
||||
user={this.props.user}
|
||||
onChargePress={this.openStripe}
|
||||
onLogoutPress={this.props.onLogoutPress}
|
||||
/>
|
||||
}
|
||||
|
||||
openStripe = () => {
|
||||
|
||||
Reference in new issue
Block a user