Skip to content

Commit

Permalink
VPN-6630: Fix disappearing toggle in StateOnPartial (#9942)
Browse files Browse the repository at this point in the history
* VPN-6630: Fix disappearing toggle in StateOnPartial

* Remove modified adjust-ios-sdk
  • Loading branch information
lesleyjanenorton authored Oct 10, 2024
1 parent 8fc6afb commit 86f1e18
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/ui/screens/home/controller/VPNToggle.qml
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,7 @@ MZButtonBase {
target: toggleButton
//% "Turn VPN on"
toolTipTitle: qsTrId("vpn.toggle.on")
toggleColor: MZTheme.theme.vpnToggleDisconnected
}
},

Expand Down Expand Up @@ -266,7 +267,7 @@ MZButtonBase {
radius: height / 2
border.color: toggleColor.focusBorder
color: MZTheme.theme.transparent
opacity: toggleButton.activeFocus && (VPNController.state === VPNController.StateOn || VPNController.state === VPNController.StateSilentSwitching || VPNController.state === VPNController.StateOff) ? 1 : 0
opacity: toggleButton.activeFocus && (VPNController.state === VPNController.StateOn || VPNController.state === VPNController.StateOnPartial || VPNController.state === VPNController.StateSilentSwitching || VPNController.state === VPNController.StateOff) ? 1 : 0

MZFocusOutline {
id: vpnFocusOutline
Expand Down

0 comments on commit 86f1e18

Please sign in to comment.