mirror of
https://gitlab.gnome.org/june/top-bar-organizer.git
synced 2026-01-11 16:53:51 +01:00
Refactor: Add settings to globalThis
Do this so that we don't have to get them in each class individually.
This commit is contained in:
parent
2f9f4d1a3f
commit
34ba8a58cd
4 changed files with 6 additions and 10 deletions
|
|
@ -11,4 +11,6 @@ function buildPrefsWidget() {
|
|||
}
|
||||
|
||||
function init() {
|
||||
// Load the settings.
|
||||
globalThis.settings = ExtensionUtils.getSettings();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue