From 651ecce7aef900dde28fd71a723462a568aabc28 Mon Sep 17 00:00:00 2001 From: Diego Dario <25825145+diegodario88@users.noreply.github.com> Date: Mon, 20 Mar 2023 17:30:32 -0300 Subject: [PATCH] fix: changed iconName variable to icon_name in toggle.js Changed the iconName variable to icon_name. This was done to maintain consistency with the naming conventions used in the rest of the codebase. --- snx-vpn-indicator@diegodario88.github.io/toggle.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/snx-vpn-indicator@diegodario88.github.io/toggle.js b/snx-vpn-indicator@diegodario88.github.io/toggle.js index e8ff1c4..e125e71 100644 --- a/snx-vpn-indicator@diegodario88.github.io/toggle.js +++ b/snx-vpn-indicator@diegodario88.github.io/toggle.js @@ -23,7 +23,7 @@ var SnxToggle = GObject.registerClass( super._init(config); - this.iconName = hasTunsnxDevice + this.icon_name = hasTunsnxDevice ? Util.getConstantByKey('ENABLED_VPN_ICON') : Util.getConstantByKey('DISABLED_VPN_ICON');