mirror of
https://github.com/end-4/dots-hyprland.git
synced 2026-06-05 23:09:26 -05:00
wifi networks: auth entry: make visibility icon adapt
This commit is contained in:
@@ -178,9 +178,10 @@ const CurrentNetwork = () => {
|
||||
vpack: 'center',
|
||||
child: MaterialIcon('visibility', 'large'),
|
||||
className: 'txt sidebar-wifinetworks-auth-visible',
|
||||
onClicked: () => {
|
||||
onClicked: (self) => {
|
||||
passwordVisible = !passwordVisible;
|
||||
authEntry.visibility = passwordVisible;
|
||||
self.child.label = passwordVisible ? 'visibility_off' : 'visibility';
|
||||
},
|
||||
setup: setupCursorHover,
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user