summaryrefslogtreecommitdiff
path: root/src/Components/PortalPanel.tsx
diff options
context:
space:
mode:
authorAlexander NeonXP Kiryukhin <a.kiryukhin@mail.ru>2019-06-11 03:05:47 +0300
committerAlexander NeonXP Kiryukhin <a.kiryukhin@mail.ru>2019-06-11 03:05:47 +0300
commit66fe14e5a54995951364c8629bf6c6a02a4b0da0 (patch)
tree345e96b8a89e13ceba91a15aec9447b82f8231ea /src/Components/PortalPanel.tsx
parentf12a3bccd8c726e59e92123a3d8ef1f5a73d7253 (diff)
Fix for androidHEADmaster
Diffstat (limited to 'src/Components/PortalPanel.tsx')
-rw-r--r--src/Components/PortalPanel.tsx6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/Components/PortalPanel.tsx b/src/Components/PortalPanel.tsx
index 30564ca..89f0fee 100644
--- a/src/Components/PortalPanel.tsx
+++ b/src/Components/PortalPanel.tsx
@@ -1,5 +1,5 @@
import React, { Component, PureComponent } from 'react';
-import { StyleSheet, View, Text, GestureResponderEvent, ActivityIndicator, Image, Dimensions, Button, Linking } from 'react-native';
+import { StyleSheet, View, Text, GestureResponderEvent, ActivityIndicator, Image, Dimensions, Button, Linking, ScrollView } from 'react-native';
// import { Button } from 'react-native-vector-icons/FontAwesome';
import { getStatusBarHeight } from '../helper';
import { connect } from 'react-redux';
@@ -35,7 +35,7 @@ class PortalPanel extends PureComponent<Props> {
return <ActivityIndicator />
}
return (
- <View style={styles.overlay}>
+ <ScrollView style={styles.overlay}>
<View style={styles.panelRow}>
<Image style={styles.photo} source={{ uri: portal.photo }} />
<View style={styles.panelRight}>
@@ -69,7 +69,7 @@ class PortalPanel extends PureComponent<Props> {
<Button onPress={() => Linking.openURL(NavTo(portal.coords.latitude, portal.coords.longitude, portal.name, '2gis'))} title={'2ГИС'} />
<Button onPress={() => Linking.openURL(NavTo(portal.coords.latitude, portal.coords.longitude, portal.name, 'default'))} title={'Другие карты/навигаторы'} />
</View>
- </View>
+ </ScrollView>
);
}
}