sakithb / media-controls

A media indicator for the Gnome shell.
MIT License
221 stars 33 forks source link

Gnome 45.1: Move imports to the top #108

Closed HomelessCoder closed 7 months ago

HomelessCoder commented 7 months ago

Hi! First of all - thank you for the extension!

I've just upgraded to Fedora 39 with Gnome 45.1, and the extension won't start (and I realised how much I miss it, lol). It said that imports must be on the top (prefs.js file).

I also noticed the dbus.js file also has "use strict" on the top, but it doesn't break the startup for some reason.

ChrisLauinger77 commented 7 months ago

I have also 45.1 (debian) and it works without this change ...

grafik Probably you need to restart gnome-shell after the update of the extension is done ... I am 100% sure this change is not nec. (the screenshot is not from main branch where 1 import was already removed)