Autohide volume indicator when muted
Note: Binary files aren't shown on the web site. To see all files, please download the extension zipfile.
1. Please remove line 18 extension.js, not needed. 2. Please also remove the source id in disable (line 21 extension.js). `idle_add()` is also a timeout: https://gjs.guide/extensions/review-guidelines/review-guidelines.html#remove-main-loop-sources
> 1. Please remove line 18 extension.js, not needed. Will do. > 2. Please also remove the source id in disable (line 21 extension.js). Will do. > `idle_add()` is also a timeout I'm afraid I don't understand this statement. Best request interpretation I can draw from this is "use .timeout_add(GLib.PRIORITY_DEFAULT_IDLE, ...) and some timeout", please explain in more specific terms if I misunderstood that one.
```js this._sourceId = GLib.idle_add(GLib.PRIORITY_DEFAULT, (() => { ``` then: ```js if (this._sourceId) { GLib.Source.remove(this._sourceId); this._sourceId = null; } ```