refactor: g.settings with a PublicSettings class for mapping, for reactive WINDOW_SETTINGS (#3644)

This commit is contained in:
dni ⚡
2026-02-25 07:53:55 +01:00
parent 5311b0a393
commit 15f093c136
25 changed files with 276 additions and 282 deletions
+1 -2
View File
@@ -157,8 +157,7 @@ window.app.mixin({
return {
api: window._lnbitsApi,
utils: window._lnbitsUtils,
g: window.g,
...WINDOW_SETTINGS
g: window.g
}
},
// backwards compatibility for extensions, should not be used in the future