mirror of
https://github.com/simplex-chat/simplex-chat.git
synced 2026-08-14 09:20:28 +00:00
ActiveProfilePicker performed the whole profile change - connection reassignment, switch, alerts, close - inside the row's onSelected lambda, where nothing else can reach it. Lift it to selectProfile(user), called by the row. Pure move: the body is unchanged apart from indentation, so picking a profile behaves exactly as before. It gives the next commit a way to take the same path for a newly created profile rather than duplicating it.