From 96f174b84001386092eb93a88f7764b5a7a6acb9 Mon Sep 17 00:00:00 2001 From: vinocher <137354616+vinocher@users.noreply.github.com> Date: Mon, 20 Nov 2023 21:54:13 -0800 Subject: [PATCH] CR comments --- src/ui/screens/home/controller/ControllerView.qml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/ui/screens/home/controller/ControllerView.qml b/src/ui/screens/home/controller/ControllerView.qml index 99d640f7e1..97e7bcaa70 100644 --- a/src/ui/screens/home/controller/ControllerView.qml +++ b/src/ui/screens/home/controller/ControllerView.qml @@ -652,7 +652,9 @@ Item { buttonColorScheme: MZTheme.theme.iconButtonDarkBackground enabled: visible && VPNConnectionHealth.stability !== VPNConnectionHealth.NoSignal opacity: visible ? 1 : 0 - visible: !connectionInfoScreen.isOpen && !connectionInfoScreen.isTransitioning + visible: (VPNController.state === VPNController.StateOn || VPNController.state === VPNController.StateSilentSwitching) + && !connectionInfoScreen.isOpen + && !connectionInfoScreen.isTransitioning z: 1 onClicked: { ipInfoPanel.isOpen = !ipInfoPanel.isOpen;