Browse Source

Revert "google play accessibility issues - map modal"

This reverts commit 78f00c7270.
master
GabrielTrettel 3 years ago
parent
commit
6aebfdc684
  1. 16
      src/app/components/MapDataMenu.js

16
src/app/components/MapDataMenu.js

@ -21,7 +21,7 @@ function DataMenuHeader({ setShowModal }) {
<View <View
style={{ style={{
backgroundColor: colors.primary, backgroundColor: colors.primary,
height: 48,
height: 42,
justifyContent: "center", justifyContent: "center",
flexDirection: "row", flexDirection: "row",
justifyContent: "space-between", justifyContent: "space-between",
@ -34,7 +34,7 @@ function DataMenuHeader({ setShowModal }) {
style={styles.topBarIcon} style={styles.topBarIcon}
onPress={() => setShowModal(null)} onPress={() => setShowModal(null)}
> >
<MaterialCommunityIcons name="close" size={38} color={colors.white} alignSelf="center"/>
<MaterialCommunityIcons name="close" size={24} color={colors.white} />
</TouchableOpacity> </TouchableOpacity>
</View> </View>
); );
@ -55,7 +55,7 @@ function DataOriginSelector({ dataOriginToShow, setDataOriginToShow }) {
> >
<View <View
style={{ style={{
height: 48,
height: 40,
justifyContent: "center", justifyContent: "center",
flexDirection: "row", flexDirection: "row",
justifyContent: "space-between", justifyContent: "space-between",
@ -210,7 +210,7 @@ function ListDataOptions(
style={{ style={{
alignContent: "flex-end", alignContent: "flex-end",
width: 120, width: 120,
height: 48,
height: 36,
justifyContent: "center", justifyContent: "center",
borderRadius: 6, borderRadius: 6,
backgroundColor: !item ? colors.activated : colors.notActivated, backgroundColor: !item ? colors.activated : colors.notActivated,
@ -340,15 +340,9 @@ const styles = StyleSheet.create({
color: colors.white, color: colors.white,
alignSelf: "center", alignSelf: "center",
fontWeight: "500", fontWeight: "500",
fontSize: 18,
fontSize: 16,
}, },
topBarIcon: { topBarIcon: {
alignSelf: "center", alignSelf: "center",
// backgroundColor: "red",
height: 48,
width: 48,
alignItems: "flex-end",
alignContent: "center",
marginTop: 5,
}, },
}); });
Loading…
Cancel
Save