Bluesky app fork with some witchin' additions 💫

update pronouns:

authored by

Anastasiya Uraleva and committed by xan.lol 59f827f9 ca661f61

verified
+15 -1
+13
src/lib/strings/pronouns.ts
··· 1 + import {forceLTR} from './bidi' 2 + 3 + export function sanitizePronouns( 4 + pronouns: string, 5 + forceLeftToRight = true, 6 + ): string { 7 + if (!pronouns || pronouns.trim() === '') { 8 + return '' 9 + } 10 + 11 + const trimmed = pronouns.trim() 12 + return forceLeftToRight ? forceLTR(trimmed) : trimmed 13 + }
+2 -1
src/state/queries/profile.ts
··· 224 224 } 225 225 return ( 226 226 res.data.displayName === updates.displayName && 227 - res.data.description === updates.description 227 + res.data.description === updates.description && 228 + res.data.pronouns === updates.pronouns 228 229 ) 229 230 }), 230 231 )