From 21887a67c04f29f23011ced2d542367cc1ab24f9 Mon Sep 17 00:00:00 2001 From: Mirco Wittrien Date: Thu, 30 Apr 2020 17:53:25 +0200 Subject: [PATCH] Update EmojiStatistics.plugin.js --- .../EmojiStatistics/EmojiStatistics.plugin.js | 19 +------------------ 1 file changed, 1 insertion(+), 18 deletions(-) diff --git a/Plugins/EmojiStatistics/EmojiStatistics.plugin.js b/Plugins/EmojiStatistics/EmojiStatistics.plugin.js index 13dccf1f9d..c91210be58 100644 --- a/Plugins/EmojiStatistics/EmojiStatistics.plugin.js +++ b/Plugins/EmojiStatistics/EmojiStatistics.plugin.js @@ -6,7 +6,7 @@ var EmojiStatistics = (_ => { return class EmojiStatistics { getName () {return "EmojiStatistics";} - getVersion () {return "2.9.2";} + getVersion () {return "2.9.3";} getAuthor () {return "DevilBro";} @@ -70,23 +70,6 @@ var EmojiStatistics = (_ => { }`; } - getSettingsPanel () { - if (!window.BDFDB || typeof BDFDB != "object" || !BDFDB.loaded || !this.started) return; - let settings = BDFDB.DataUtils.get(this, "settings"); - let settingsPanel, settingsItems = []; - - for (let key in settings) settingsItems.push(BDFDB.ReactUtils.createElement(BDFDB.LibraryComponents.SettingsSaveItem, { - className: BDFDB.disCN.marginbottom8, - type: "Switch", - plugin: this, - keys: ["settings", key], - label: this.defaults.settings[key].description, - value: settings[key] - })); - - return settingsPanel = BDFDB.PluginUtils.createSettingsPanel(this, settingsItems); - } - // Legacy load () {}