summaryrefslogtreecommitdiff
path: root/client/src/lib/components/close.js
diff options
context:
space:
mode:
Diffstat (limited to 'client/src/lib/components/close.js')
-rw-r--r--client/src/lib/components/close.js7
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,