TP-34976 margin fixes

This commit is contained in:
Aman Chaturvedi
2023-10-03 16:00:14 +05:30
parent 5ddf781bb2
commit 2995ebb06f

View File

@@ -129,7 +129,7 @@ const GeolocationAddress: React.FC<IGeolocationAddress> = ({
return (
<View style={GenericStyles.fill}>
<View style={[GenericStyles.row, GenericStyles.alignCenter]}>
<Text light dark style={[GenericStyles.mr4, GenericStyles.fw700]}>
<Text light dark bold style={[GenericStyles.mr4, GenericStyles.fw700]}>
{tag}
</Text>
{roundoffRelativeDistanceBwLatLong ? (
@@ -137,17 +137,11 @@ const GeolocationAddress: React.FC<IGeolocationAddress> = ({
) : null}
</View>
<View style={GenericStyles.row}>
{addressDate ? (
<Text small dark>
{addressDate}
</Text>
) : null}
{addressDate ? <Text small>{addressDate}</Text> : null}
{addressTime ? (
<View style={[GenericStyles.row, GenericStyles.alignCenter]}>
<View style={styles.circleSeparator} />
<Text small dark>
{addressTime}
</Text>
<Text small>{addressTime}</Text>
</View>
) : null}
</View>
@@ -181,11 +175,7 @@ const GeolocationAddress: React.FC<IGeolocationAddress> = ({
) : null}
<View style={[GenericStyles.row, GenericStyles.mt2, GenericStyles.pr16]}>
{showOpenMap ? (
<TouchableOpacity
activeOpacity={0.7}
onPress={openGeolocation}
style={{ flexBasis: '31%' }}
>
<TouchableOpacity activeOpacity={0.7} onPress={openGeolocation}>
<Text style={[styles.openMapBtn]} bold>
Open map
</Text>
@@ -195,7 +185,7 @@ const GeolocationAddress: React.FC<IGeolocationAddress> = ({
<TouchableOpacity
activeOpacity={0.7}
onPress={handleAddFeedback}
style={{ flexBasis: '38%' }}
style={GenericStyles.ml20}
>
<Text style={styles.openMapBtn} bold>
Add feedback
@@ -206,7 +196,7 @@ const GeolocationAddress: React.FC<IGeolocationAddress> = ({
<TouchableOpacity
activeOpacity={0.7}
onPress={openOldFeedbacks}
style={{ flexBasis: '31%' }}
style={GenericStyles.ml20}
>
<Text style={styles.openMapBtn} bold>
Old feedbacks