mirror of
https://github.com/simplex-chat/simplex-chat.git
synced 2026-08-14 09:20:28 +00:00
createProfileInNoProfileSetup passed the image positionally as Profile's 4th argument, which is description, not image - so the chosen avatar was stored as the profile description and no picture was set. Both are String?, so it type-checked silently. The sibling createProfileInProfiles avoids this by passing image by name. Only reachable on desktop with no local chat profile: the user picker then offers "Create chat profile" (desktopNoUserNoRemote), which opens the profile form with its avatar picker, and localUserCreated is false so submission takes this branch. Onboarding is unaffected - both first-profile screens take a name only, with no avatar picker, and call createProfileOnboarding instead. Unrelated to the rest of this branch - safe to drop or move to its own PR.