mirror of
https://github.com/simplex-chat/simplex-chat.git
synced 2026-08-14 20:10:02 +00:00
Adds "Add profile" to the profile picker shown above the compose box for a prepared chat, so connecting as someone new does not mean leaving the invitation to create a profile in settings. NewUser and createActiveUser gain keepActiveUser, with apiCreateProfileKeepingActive as the named entry point; the flag never appears at a call site. The profile is created without becoming active so the profile that owns the prepared chat stays active for the reassignment. The row is emitted first: unlike the Android/desktop list this one is not reverse-laid-out, so first renders at the top. After switching, the chat is reopened explicitly - keepingChatId only preserves its place in the reloaded list. Reuses the existing "Add profile" and "Error changing chat profile" strings, so no new translation entries.