Update components/Button.tsx

Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
This commit is contained in:
Marcos Rodriguez Vélez 2024-09-26 21:13:41 -04:00 committed by GitHub
parent 6ac75c6ddc
commit ad9f900254
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -41,7 +41,7 @@ export const Button = forwardRef<React.ElementRef<typeof TouchableOpacity>, Butt
color: fontColor,
};
const buttonView = !props.showActivityIndicator ? (
const buttonView = props.showActivityIndicator ? (
<ActivityIndicator size="small" color={textStyle.color} />
) : (
<>