diff options
| author | Jules Laplace <julescarbon@gmail.com> | 2017-06-05 18:44:09 -0400 |
|---|---|---|
| committer | Jules Laplace <julescarbon@gmail.com> | 2017-06-05 18:44:09 -0400 |
| commit | 308ff45c1c8c16177beb0b94390d151b2ec7681d (patch) | |
| tree | dc9560ccd5e25eb9c0731d4273e828e2c850d960 /client/src/lib/components/close.js | |
| parent | 658263c5beac838240a19627894ef0621f681442 (diff) | |
rebuild
Diffstat (limited to 'client/src/lib/components/close.js')
| -rw-r--r-- | client/src/lib/components/close.js | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/client/src/lib/components/close.js b/client/src/lib/components/close.js index c5fa0f0..7c0fd3c 100644 --- a/client/src/lib/components/close.js +++ b/client/src/lib/components/close.js @@ -3,6 +3,7 @@ import { StyleSheet, Image, View, + TouchableWithoutFeedback, } from 'react-native'; import DeviceInfo from 'react-native-device-info' @@ -12,18 +13,18 @@ import { isFirefox } from './browser' export default class Close extends Component { render() { return ( - <Touchable onPress={this.props.onPress}> + <TouchableWithoutFeedback onPress={this.props.onPress}> <View style={styles.close}> <Image key={'image_close'} source={require('../../img/close.png')} style={styles.closeImage} /> </View> - </Touchable> + </TouchableWithoutFeedback> ) } } const styles = StyleSheet.create({ close: { - position: isFirefox ? 'fixed' : 'absolute', + position: 'fixed', top: 10, right: 10, width: 40, |
