Skip to content

Commit

Permalink
Disabled usernameAvailabilityLoading RightIcon TouchableOpacity
Browse files Browse the repository at this point in the history
  • Loading branch information
Sebastian-Webster committed Sep 12, 2023
1 parent a911020 commit d1f660e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion screens/Signup.js
Original file line number Diff line number Diff line change
Expand Up @@ -366,7 +366,7 @@ const UserTextInput = ({label, icon, isPassword, hidePassword, setHidePassword,
)}
{label === 'Username' ?
usernameAvailabilityLoading ?
<RightIcon>
<RightIcon disabled={true /* This is disabled because RightIcon is a TouchableOpacity and we do not want this icon to be touchable */}>
<ActivityIndicator size="large" color={colors.brand} style={{transform: [{scale: 0.75}]}}/>
</RightIcon>
: usernameIsAvailable !== undefined ?
Expand Down

0 comments on commit d1f660e

Please sign in to comment.