mirror of
https://gitlab.futo.org/videostreaming/grayjay.git
synced 2026-05-16 04:52:39 +02:00
Devportal fix with settings.
This commit is contained in:
@@ -1025,7 +1025,9 @@
|
|||||||
|
|
||||||
let settingsToUse = __DEV_SETTINGS ?? {};
|
let settingsToUse = __DEV_SETTINGS ?? {};
|
||||||
if (true) {
|
if (true) {
|
||||||
for (let setting of this.Plugin?.currentPlugin?.settings) {
|
const settings = this.Plugin?.currentPlugin?.settings;
|
||||||
|
if (settings) {
|
||||||
|
for (let setting of settings) {
|
||||||
if (typeof settingsToUse[setting.variable] == "undefined") {
|
if (typeof settingsToUse[setting.variable] == "undefined") {
|
||||||
switch (setting?.type?.toLowerCase()) {
|
switch (setting?.type?.toLowerCase()) {
|
||||||
case "boolean":
|
case "boolean":
|
||||||
@@ -1041,6 +1043,7 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
if(name == "enable") {
|
if(name == "enable") {
|
||||||
if(parameterVals.length > 0)
|
if(parameterVals.length > 0)
|
||||||
|
|||||||
Reference in New Issue
Block a user