Skip to content

Commit

Permalink
User can not longer edit account name to be an empty string (#6389)
Browse files Browse the repository at this point in the history
  • Loading branch information
tommasini authored May 15, 2023
1 parent 6755cdd commit f8bd95d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/components/Views/EditAccountName/EditAccountName.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ const EditAccountName = () => {
? { ...styles.saveButton, ...styles.saveButtonDisabled }
: styles.saveButton
}
disabled={!accountName?.length}
disabled={!accountName?.length || accountName?.trim() === ''}
{...generateTestId(Platform, 'save-button')}
/>
</View>
Expand Down

0 comments on commit f8bd95d

Please sign in to comment.