mirror of
https://github.com/simplex-chat/simplex-chat.git
synced 2026-08-15 02:40:18 +00:00
showProgress existed to skip the picker's 500ms grace while a profile was being created, because the recomposition that follows the form closing restarts that timer. But the rows are disabled by busy the whole time, so nothing incorrect can be done - the gap is purely that the spinner appears late, and a 500ms grace before showing it is what this picker already chose for every other switch. Same for the two alpha modifiers added to the compose picker, which had no progress indication before this branch and does not need to gain one here. appPreferences.incognito.set(false) goes back where it was. Moving it after the connection change fixes a real failure-path bug - a reassignment that fails no longer clears the app-wide default - but that bug is master's and is reachable from the ordinary row tap, which this branch does not otherwise touch. Kept the profileChangeProhibited guard on the new row even though ProfilePicker only renders when the flag is false: it is live state the receiver loop flips, so it can turn true between the row being laid out and the tap landing, and five lines to avoid creating an orphan profile in that window is worth it.