Skip to content

Commit

Permalink
Merge pull request #184 from SquareTable/183-disable-usernameavailabi…
Browse files Browse the repository at this point in the history
…lityloading-righticon-touchableopacity

Disabled usernameAvailabilityLoading RightIcon TouchableOpacity
  • Loading branch information
Sebastian-Webster authored Sep 12, 2023
2 parents a911020 + d1f660e commit 9db6e33
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 9db6e33

Please sign in to comment.