Browse Source

google play accessibility issues - map modal

master
analuizaff 3 years ago
parent
commit
78f00c7270
  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: 42,
height: 48,
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={24} color={colors.white} />
<MaterialCommunityIcons name="close" size={38} color={colors.white} alignSelf="center"/>
</TouchableOpacity> </TouchableOpacity>
</View> </View>
); );
@ -55,7 +55,7 @@ function DataOriginSelector({ dataOriginToShow, setDataOriginToShow }) {
> >
<View <View
style={{ style={{
height: 40,
height: 48,
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: 36,
height: 48,
justifyContent: "center", justifyContent: "center",
borderRadius: 6, borderRadius: 6,
backgroundColor: !item ? colors.activated : colors.notActivated, backgroundColor: !item ? colors.activated : colors.notActivated,
@ -340,9 +340,15 @@ const styles = StyleSheet.create({
color: colors.white, color: colors.white,
alignSelf: "center", alignSelf: "center",
fontWeight: "500", fontWeight: "500",
fontSize: 16,
fontSize: 18,
}, },
topBarIcon: { topBarIcon: {
alignSelf: "center", alignSelf: "center",
// backgroundColor: "red",
height: 48,
width: 48,
alignItems: "flex-end",
alignContent: "center",
marginTop: 5,
}, },
}); });
Loading…
Cancel
Save