I stumbled upon this code when looking into adjusting the extension for the legacy tray removal in GNOME. I suggest using destructuring when processing the blacklist, as it results in much more readable code in my opinion.
This will also take care of a warning with recent gjs versions about trying to access elements outside the bounds of the array.
I stumbled upon this code when looking into adjusting the extension for the legacy tray removal in GNOME. I suggest using destructuring when processing the blacklist, as it results in much more readable code in my opinion.
This will also take care of a warning with recent gjs versions about trying to access elements outside the bounds of the array.