diff --git a/BrowserKit/Sources/ComponentLibrary/Buttons/ThemedSwitch.swift b/BrowserKit/Sources/ComponentLibrary/Buttons/ThemedSwitch.swift index a8e8d5085680..64cdd37742f7 100644 --- a/BrowserKit/Sources/ComponentLibrary/Buttons/ThemedSwitch.swift +++ b/BrowserKit/Sources/ComponentLibrary/Buttons/ThemedSwitch.swift @@ -30,5 +30,6 @@ public class ThemedSwitch: UISwitch, ThemeApplicable { enabledOffColor = theme.colors.formSurfaceOff disabledOffColor = theme.colors.formSurfaceOff.withAlphaComponent(0.4) thumbTintColor = theme.colors.formKnob + onTintColor = isEnabled ? enabledOnColor : disabledOnColor } }