Make final adjustments

This commit is contained in:
Zack Rauen 2022-08-08 18:25:59 -04:00
parent 6adc259acc
commit 9e5c090c6e
3 changed files with 2 additions and 3 deletions

View File

@ -18,7 +18,6 @@ export default [
shown: false,
settings: [
{type: "switch", id: "addonErrors", value: true},
{type: "switch", id: "autoReload", value: true},
{type: "dropdown", id: "editAction", value: "detached", options: [{value: "detached"}, {value: "system"}]}
]
},

View File

@ -132,7 +132,7 @@ const protect = theModule => {
return proxy;
};
const hasThrown = new Set();
const hasThrown = new WeakSet();
export default class WebpackModules {
static find(filter, first = true) {return this.getModule(filter, {first});}

View File

@ -127,7 +127,7 @@ export default class Modals {
static showChangelogModal(options = {}) {
const ModalStack = WebpackModules.getByProps("push", "update", "pop", "popWithKey");
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 Titles = WebpackModules.getByProps("Tags", "default");
const Changelog = WebpackModules.getModule(m => m.defaultProps && m.defaultProps.selectable == false);