diff --git a/src/app/components/ConfirmationModal.js b/src/app/components/ConfirmationModal.js index a9217a9..9f97768 100644 --- a/src/app/components/ConfirmationModal.js +++ b/src/app/components/ConfirmationModal.js @@ -15,7 +15,7 @@ function Btn({ label, onPress, bgColor, txtColor, style={} }) { borderRadius: 6, }]} > - {label} + {label} ); @@ -58,7 +58,7 @@ export default function ConfirmationModal({ )} {icon && ( - + )} @@ -70,21 +70,21 @@ export default function ConfirmationModal({ justifyContent: "flex-end", marginTop: 24, }} - > - {onConfirm && confirmationLabel && ( + > + {onDecline && declineLabel && ( )} - {onDecline && declineLabel && ( + {onConfirm && confirmationLabel && ( )} @@ -105,8 +105,7 @@ const styles = StyleSheet.create({ borderColor: colors.primary, borderWidth: 2, borderRadius: 12, - paddingVertical: 16, - paddingHorizontal: 16, + padding: 16, }, text: { fontSize: dimensions.text.default,