Improve bridge cards update
The bridge cards mechanisms could be improved. From !699 (comment 2922312):
Right now there is a bit of a delay to unchecking and the connected label being removed, which leads to a more "jumpy" UI. This can be resolved right now by moving the logic in
_updateConnectedBridges
to the end of_populateBridgeCards
, adding theTorSettings.bridges.enabled
condition, and removing the call to_populateBridgeCards
that would cause a loop.
In general, we could even clean the whole thing, especially if this helps further improvements.