fix(gui): reflect folder password visibility by changing button icon (#9857)

Make the "toggle password visibility" button on encrypted
folders change its icon from `fa-eye` to `fa-eye-slash` while the
password is visible.
This commit is contained in:
Alex Ionescu
2024-12-08 21:20:31 +01:00
committed by GitHub
parent d9ce7c3166
commit 479c0d3f16
2 changed files with 1 additions and 2 deletions
@@ -3703,7 +3703,6 @@ angular.module('syncthing.core')
untrusted: '=',
},
link: function (scope, elem, attrs) {
var plain = false;
scope.togglePasswordVisibility = function() {
scope.plain = !scope.plain;
};