Skip to content

extensions-app: Reset switch handle when it becomes insensitive

Currently the switches handle position reflects the requested extension state (as in: the user (de)activated the switch), while the actual extension state is reflected by the underlying state.

That doesn't work well when the switch is insensitive though (for example on error), because the desaturation neuters the color that reflects the state.

Address this by resetting the switch handle to the state when making it insensitive.

Edited by Florian Müllner

Merge request reports