Update 0BDFDB.plugin.js
This commit is contained in:
parent
c1594e6eca
commit
163c98c44c
|
@ -7847,7 +7847,7 @@ module.exports = (_ => {
|
||||||
BDFDB.ReactUtils.instanceKey = Object.keys(document.querySelector(BDFDB.dotCN.app) || {}).some(n => n.startsWith("__reactInternalInstance")) ? "_reactInternalFiber" : "_reactInternals";
|
BDFDB.ReactUtils.instanceKey = Object.keys(document.querySelector(BDFDB.dotCN.app) || {}).some(n => n.startsWith("__reactInternalInstance")) ? "_reactInternalFiber" : "_reactInternals";
|
||||||
|
|
||||||
BDFDB.PluginUtils.load(BDFDB);
|
BDFDB.PluginUtils.load(BDFDB);
|
||||||
InternalBDFDB.settings = BDFDB.DataUtils.get(BDFDB);
|
InternalBDFDB.settings = BDFDB.DataUtils.get(InternalBDFDB);
|
||||||
changeLogs = BDFDB.DataUtils.load(BDFDB, "changeLogs");
|
changeLogs = BDFDB.DataUtils.load(BDFDB, "changeLogs");
|
||||||
BDFDB.PluginUtils.checkChangeLog(BDFDB);
|
BDFDB.PluginUtils.checkChangeLog(BDFDB);
|
||||||
|
|
||||||
|
@ -8337,7 +8337,7 @@ module.exports = (_ => {
|
||||||
searchable: true
|
searchable: true
|
||||||
}));
|
}));
|
||||||
for (let key in InternalBDFDB.settings.general) {
|
for (let key in InternalBDFDB.settings.general) {
|
||||||
let nativeSetting = BDFDB.BDUtils.getSettings(BDFDB.BDUtils.settingsIds[key]);
|
let nativeSetting = BDFDB.BDUtils.settingsIds[key] && BDFDB.BDUtils.getSettings(BDFDB.BDUtils.settingsIds[key]);
|
||||||
let disabled = typeof InternalBDFDB.defaults.general[key].isDisabled == "function" && InternalBDFDB.defaults.general[key].isDisabled({
|
let disabled = typeof InternalBDFDB.defaults.general[key].isDisabled == "function" && InternalBDFDB.defaults.general[key].isDisabled({
|
||||||
value: InternalBDFDB.settings.general[key],
|
value: InternalBDFDB.settings.general[key],
|
||||||
nativeValue: nativeSetting
|
nativeValue: nativeSetting
|
||||||
|
@ -8375,7 +8375,7 @@ module.exports = (_ => {
|
||||||
name: InternalComponents.LibraryComponents.SvgIcon.Names.QUESTIONMARK,
|
name: InternalComponents.LibraryComponents.SvgIcon.Names.QUESTIONMARK,
|
||||||
width: 20,
|
width: 20,
|
||||||
height: 20,
|
height: 20,
|
||||||
onClick: _ => BDFDB.ModalUtils.open(BDFDB, {
|
onClick: _ => BDFDB.ModalUtils.open(InternalBDFDB, {
|
||||||
header: "Plugins",
|
header: "Plugins",
|
||||||
subHeader: "",
|
subHeader: "",
|
||||||
contentClassName: BDFDB.disCN.marginbottom20,
|
contentClassName: BDFDB.disCN.marginbottom20,
|
||||||
|
|
Loading…
Reference in New Issue