Browse Source

Removing edit/delete options in MapModal

master
GabrielTrettel 3 years ago
parent
commit
cd9b545644
  1. 48
      src/app/components/MapModal.js

48
src/app/components/MapModal.js

@ -36,36 +36,36 @@ function onCloseModal(setShowModal, setCurrentMarker) {
function topBar(props, setShowModal, setCurrentMarker) { function topBar(props, setShowModal, setCurrentMarker) {
return ( return (
<View style={styles.topBar}> <View style={styles.topBar}>
<View style={{ alignContent: "center", flex: 1, marginHorizontal: 10 }}>
<View style={{ alignContent: "center", flex: 1, marginHorizontal: 10}}>
<Text style={[styles.bodyTitle, { color: "white" }]}> <Text style={[styles.bodyTitle, { color: "white" }]}>
{props ? props.title : "Aguarde..."} {props ? props.title : "Aguarde..."}
</Text> </Text>
</View> </View>
<View style={{ flexDirection: "row", alignSelf: "flex-end" }}> <View style={{ flexDirection: "row", alignSelf: "flex-end" }}>
<TouchableOpacity
style={styles.topBarIcon}
onPress={() => notImplemented()}
>
<MaterialCommunityIcons
name="pencil"
size={20}
color={colors.white}
alignItems="center"
/>
</TouchableOpacity>
<TouchableOpacity
style={styles.topBarIcon}
onPress={() => notImplemented()}
>
<MaterialCommunityIcons
name="trash-can"
size={20}
color={colors.white}
alignItems="center"
/>
</TouchableOpacity>
{/* <TouchableOpacity */}
{/* style={styles.topBarIcon} */}
{/* onPress={() => notImplemented()} */}
{/* > */}
{/* <MaterialCommunityIcons */}
{/* name="pencil" */}
{/* size={20} */}
{/* color={colors.white} */}
{/* alignItems="center" */}
{/* /> */}
{/* </TouchableOpacity> */}
{/* <TouchableOpacity */}
{/* style={styles.topBarIcon} */}
{/* onPress={() => notImplemented()} */}
{/* > */}
{/* <MaterialCommunityIcons */}
{/* name="trash-can" */}
{/* size={20} */}
{/* color={colors.white} */}
{/* alignItems="center" */}
{/* /> */}
{/* </TouchableOpacity> */}
<TouchableOpacity <TouchableOpacity
style={styles.topBarIcon} style={styles.topBarIcon}

Loading…
Cancel
Save