Bluesky app fork with some witchin' additions 💫
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

Align handling (#8255)

authored by

Eric Bailey and committed by
GitHub
aa3ee8db 8fdefb7e

+2 -3
+2 -3
src/view/com/modals/EditProfile.tsx
··· 53 53 const {closeModal} = useModalControls() 54 54 const updateMutation = useProfileUpdateMutation() 55 55 const [imageError, setImageError] = useState<string>('') 56 + const initialDisplayName = profile.displayName || '' 56 57 const [displayName, setDisplayName] = useState<string>( 57 58 profile.displayName || '', 58 59 ) ··· 145 146 const verification = useSimpleVerificationState({ 146 147 profile, 147 148 }) 148 - const [touchedDisplayName, setTouchedDisplayName] = useState(false) 149 149 150 150 return ( 151 151 <KeyboardAvoidingView style={s.flex1} behavior="height"> ··· 193 193 accessible={true} 194 194 accessibilityLabel={_(msg`Display name`)} 195 195 accessibilityHint={_(msg`Edit your display name`)} 196 - onFocus={() => setTouchedDisplayName(true)} 197 196 /> 198 197 199 198 {verification.isVerified && 200 199 verification.role === 'default' && 201 - touchedDisplayName && ( 200 + displayName !== initialDisplayName && ( 202 201 <View style={{paddingTop: 8}}> 203 202 <Admonition type="error"> 204 203 <Trans>