From 25aed9b8ab88c4ff9b8f99097cd91e5071871a7a Mon Sep 17 00:00:00 2001 From: GabrielTrettel Date: Fri, 17 Dec 2021 17:41:02 -0300 Subject: [PATCH] Revert "google play accessibility issues - modal buttons size" This reverts commit cf1d2dd5afa21101eac8972d85bdc4d513a0110a. --- src/app/components/Button.js | 2 +- src/app/components/ConfirmationModal.js | 37 +++++++---------------- src/app/components/LoadingMarkersModal.js | 7 +---- src/app/screens/LoginScreen.js | 3 +- 4 files changed, 14 insertions(+), 35 deletions(-) diff --git a/src/app/components/Button.js b/src/app/components/Button.js index f8f0723..10c873a 100644 --- a/src/app/components/Button.js +++ b/src/app/components/Button.js @@ -23,7 +23,7 @@ const styles = StyleSheet.create({ justifyContent: "center", alignItems: "center", width: "100%", - height: 48, + height: 42, marginVertical: 10, }, text: { diff --git a/src/app/components/ConfirmationModal.js b/src/app/components/ConfirmationModal.js index 86bfb49..9f97768 100644 --- a/src/app/components/ConfirmationModal.js +++ b/src/app/components/ConfirmationModal.js @@ -4,33 +4,18 @@ import colors from "../config/colors"; import { dimensions } from "../config/dimensions"; import { Ionicons } from "@expo/vector-icons"; -function Btn({ label, onPress, bgColor, txtColor, style = {} }) { +function Btn({ label, onPress, bgColor, txtColor, style={} }) { return ( - + - - {label} - + {label} ); @@ -85,10 +70,10 @@ export default function ConfirmationModal({ justifyContent: "flex-end", marginTop: 24, }} - > + > {onDecline && declineLabel && ( setClosed(true)}> diff --git a/src/app/screens/LoginScreen.js b/src/app/screens/LoginScreen.js index 915cbe5..f461d67 100644 --- a/src/app/screens/LoginScreen.js +++ b/src/app/screens/LoginScreen.js @@ -153,7 +153,7 @@ export default function LoginScreen(props) { /> - + {/* FIXME: update this in future versions */} {/* { authContext.setUser(true); }}