mirror of
https://github.com/simplex-chat/simplex-chat.git
synced 2026-08-14 18:00:25 +00:00
Adds "Add profile" to the profile picker reached from "Share profile" on a one-time link, so a link can be handed out under a new identity without setting one up in settings first. Reuses the existing users_add string. Extracts the existing selection handler into selectProfile so the new profile takes exactly the same path as picking an existing one - the connection change and the switch cannot drift apart. The row sits outside the active-profile branch: inside it, it would disappear whenever the active profile is filtered out by the search text. It is only offered when there is a connection to move, so it does not appear in the share list, where a new profile would have nothing to share into.