Files
simplex-chat/apps/multiplatform/common/src
Narasimha-sc eab9e36300 desktop: fix profile image lost when creating the first chat profile
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.
2026-08-03 16:12:10 +00:00
..