forked from vergnet/application-amicale
Fixed ios style
This commit is contained in:
parent
0267ff70ce
commit
f617dba1e6
2 changed files with 3 additions and 6 deletions
|
@ -1,10 +1,9 @@
|
|||
// @flow
|
||||
|
||||
import * as React from 'react';
|
||||
import {Image, View} from "react-native";
|
||||
import {FAB, withTheme} from 'react-native-paper';
|
||||
import {Image, Platform, View} from "react-native";
|
||||
import {FAB, TouchableRipple, withTheme} from 'react-native-paper';
|
||||
import * as Animatable from "react-native-animatable";
|
||||
import TouchableRipple from "react-native-paper/src/components/TouchableRipple/index";
|
||||
import CustomTabBar from "./CustomTabBar";
|
||||
|
||||
type Props = {
|
||||
|
@ -76,8 +75,7 @@ class TabHomeIcon extends React.Component<Props> {
|
|||
onPress={props.onPress}
|
||||
onLongPress={props.onLongPress}
|
||||
borderless={true}
|
||||
rippleColor={this.props.theme.colors.primary}
|
||||
underlayColor={this.props.theme.colors.primary}
|
||||
rippleColor={Platform.OS === 'android' ? this.props.theme.colors.primary : 'transparent'}
|
||||
style={{
|
||||
position: 'absolute',
|
||||
bottom: 0,
|
||||
|
|
|
@ -71,7 +71,6 @@ class TabIcon extends React.Component<Props> {
|
|||
onLongPress={props.onLongPress}
|
||||
borderless={true}
|
||||
rippleColor={this.props.theme.colors.primary}
|
||||
underlayColor={this.props.theme.colors.primary}
|
||||
style={{
|
||||
flex: 1,
|
||||
justifyContent: 'center',
|
||||
|
|
Loading…
Reference in a new issue