Files
simplex-chat/apps/multiplatform/product/flows
Narasimha-sc 7ca92217ab android, desktop: offer creating a profile for an invitation
Both profile pickers get an "Add profile" row. It opens the existing
CreateProfile form, which gains an optional submit callback, and hands
the created profile to the picker's existing selection path - so the
create flow and a row tap run the same code.

ActiveProfilePicker's row handler is extracted to selectProfile() for
that; the body is unchanged apart from indentation.

The form opens in ModalManager.fullscreen: on desktop the other
placements are panes, where center closes the chat the invitation is in
and start and end leave the picker beside it usable while
apiChangeConnectionUser invalidates the connection id.

The list is refreshed after creating, because keepActiveUser skips the
switch that would otherwise do it and nothing else re-lists, and the
reassignment is skipped if the form was closed while the profile was
being created, when close() would pop the picker instead.
2026-09-05 11:27:46 +00:00
..