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) {
return (
<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" }]}>
{props ? props.title : "Aguarde..."}
</Text>
</View>
<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
style={styles.topBarIcon}

Loading…
Cancel
Save