Make final adjustments
This commit is contained in:
parent
6adc259acc
commit
9e5c090c6e
|
@ -18,7 +18,6 @@ export default [
|
||||||
shown: false,
|
shown: false,
|
||||||
settings: [
|
settings: [
|
||||||
{type: "switch", id: "addonErrors", value: true},
|
{type: "switch", id: "addonErrors", value: true},
|
||||||
{type: "switch", id: "autoReload", value: true},
|
|
||||||
{type: "dropdown", id: "editAction", value: "detached", options: [{value: "detached"}, {value: "system"}]}
|
{type: "dropdown", id: "editAction", value: "detached", options: [{value: "detached"}, {value: "system"}]}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
|
|
@ -132,7 +132,7 @@ const protect = theModule => {
|
||||||
return proxy;
|
return proxy;
|
||||||
};
|
};
|
||||||
|
|
||||||
const hasThrown = new Set();
|
const hasThrown = new WeakSet();
|
||||||
|
|
||||||
export default class WebpackModules {
|
export default class WebpackModules {
|
||||||
static find(filter, first = true) {return this.getModule(filter, {first});}
|
static find(filter, first = true) {return this.getModule(filter, {first});}
|
||||||
|
|
|
@ -127,7 +127,7 @@ export default class Modals {
|
||||||
static showChangelogModal(options = {}) {
|
static showChangelogModal(options = {}) {
|
||||||
const ModalStack = WebpackModules.getByProps("push", "update", "pop", "popWithKey");
|
const ModalStack = WebpackModules.getByProps("push", "update", "pop", "popWithKey");
|
||||||
const ChangelogClasses = WebpackModules.getByProps("fixed", "improved");
|
const ChangelogClasses = WebpackModules.getByProps("fixed", "improved");
|
||||||
const TextElement = WebpackModules.getByDisplayName("LegacyText") || WebpackModules.getByProps("Colors", "Sizes");
|
const TextElement = WebpackModules.getByDisplayName("LegacyText");
|
||||||
const FlexChild = WebpackModules.getByProps("Child");
|
const FlexChild = WebpackModules.getByProps("Child");
|
||||||
const Titles = WebpackModules.getByProps("Tags", "default");
|
const Titles = WebpackModules.getByProps("Tags", "default");
|
||||||
const Changelog = WebpackModules.getModule(m => m.defaultProps && m.defaultProps.selectable == false);
|
const Changelog = WebpackModules.getModule(m => m.defaultProps && m.defaultProps.selectable == false);
|
||||||
|
|
Loading…
Reference in New Issue