neuromorph / openbar

A GNOME Shell extension for theming Gnome Top Bar / Top Panel, Menus, Dash/Dock, Gnome Shell and Gtk/Flatpak Apps.
https://extensions.gnome.org/extension/6580/open-bar/
GNU General Public License v3.0
268 stars 4 forks source link

fix: should init candyClockStyle and candyDotStyle with empty strings #43

Closed Alan-Kuan closed 5 months ago

Alan-Kuan commented 5 months ago

Hi @neuromorph.

After the recent update, the extension failed to load. From the error message, I noticed it was because the stylesheet.css became invalid.

Luckily, the issue was easy to be solved. The variable candyClockStyle and candyDotStyle should be initialized as empty strings. Otherwise, undefined will be filled in the stylesheet, which makes it invalid.

Please take a look and tell me if there's something I missed. Thank You.

neuromorph commented 5 months ago

Good catch! I use auto-fg so seem to have missed it. Thank you for the PR, merging it.