|
@@ -1,10 +1,9 @@
|
1
|
1
|
// @flow
|
2
|
2
|
|
3
|
3
|
import * as React from 'react';
|
4
|
|
-import {Image, View} from "react-native";
|
5
|
|
-import {FAB, withTheme} from 'react-native-paper';
|
|
4
|
+import {Image, Platform, View} from "react-native";
|
|
5
|
+import {FAB, TouchableRipple, withTheme} from 'react-native-paper';
|
6
|
6
|
import * as Animatable from "react-native-animatable";
|
7
|
|
-import TouchableRipple from "react-native-paper/src/components/TouchableRipple/index";
|
8
|
7
|
import CustomTabBar from "./CustomTabBar";
|
9
|
8
|
|
10
|
9
|
type Props = {
|
|
@@ -76,8 +75,7 @@ class TabHomeIcon extends React.Component<Props> {
|
76
|
75
|
onPress={props.onPress}
|
77
|
76
|
onLongPress={props.onLongPress}
|
78
|
77
|
borderless={true}
|
79
|
|
- rippleColor={this.props.theme.colors.primary}
|
80
|
|
- underlayColor={this.props.theme.colors.primary}
|
|
78
|
+ rippleColor={Platform.OS === 'android' ? this.props.theme.colors.primary : 'transparent'}
|
81
|
79
|
style={{
|
82
|
80
|
position: 'absolute',
|
83
|
81
|
bottom: 0,
|