feat(mobile/navigation) - removed stack dependency and updated animation options

This commit is contained in:
Calin Chitu
2022-06-08 16:26:04 +03:00
committed by Saúl Ibarra Corretgé
parent fc725c07e9
commit 79e648867d
5 changed files with 17 additions and 70 deletions

View File

@@ -1,7 +1,6 @@
// @flow
import React from 'react';
import { TouchableOpacity } from 'react-native-gesture-handler';
import { Text, TouchableRipple } from 'react-native-paper';
import { Icon } from '../../../base/icons';
@@ -48,14 +47,14 @@ const HeaderNavigationButton
<>
{
src ? (
<TouchableOpacity
<TouchableRipple
onPress = { onPress }
style = { styles.headerNavigationButton }>
rippleColor = { BaseTheme.palette.screen02Header }
style = { styles.headerNavigationButton } >
<Icon
size = { 20 }
src = { src }
style = { styles.headerNavigationIcon } />
</TouchableOpacity>
size = { 24 }
src = { src } />
</TouchableRipple>
) : (
<TouchableRipple
disabled = { disabled }