Skip to content

Commit

Permalink
fix: changed iconName variable to icon_name in toggle.js
Browse files Browse the repository at this point in the history
Changed the iconName variable to icon_name.
This was done to maintain consistency with the naming conventions used in the rest of the codebase.
  • Loading branch information
diegodario88 committed Mar 20, 2023
1 parent a5dd8ac commit 651ecce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion snx-vpn-indicator@diegodario88.github.io/toggle.js
Original file line number Diff line number Diff line change
Expand Up @@ -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');

Expand Down

0 comments on commit 651ecce

Please sign in to comment.