Fix for canary/ptb
This commit is contained in:
parent
81474344f0
commit
5285c950d0
11
CHANGELOG.md
11
CHANGELOG.md
|
@ -2,6 +2,17 @@
|
||||||
|
|
||||||
This changelog starts with the restructured 1.0.0 release that happened after context isolation changes. The changelogs here should more-or-less mirror the ones that get shown in the client but probably with less formatting and pizzazz.
|
This changelog starts with the restructured 1.0.0 release that happened after context isolation changes. The changelogs here should more-or-less mirror the ones that get shown in the client but probably with less formatting and pizzazz.
|
||||||
|
|
||||||
|
## 1.6.2
|
||||||
|
|
||||||
|
### Added
|
||||||
|
|
||||||
|
### Removed
|
||||||
|
|
||||||
|
### Changed
|
||||||
|
|
||||||
|
### Fixed
|
||||||
|
- Fixed non-loading issue due to changed UserSettingsStore
|
||||||
|
|
||||||
## 1.6.1
|
## 1.6.1
|
||||||
|
|
||||||
### Added
|
### Added
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "betterdiscord",
|
"name": "betterdiscord",
|
||||||
"version": "1.6.1",
|
"version": "1.6.2",
|
||||||
"description": "Enhances Discord by adding functionality and themes.",
|
"description": "Enhances Discord by adding functionality and themes.",
|
||||||
"main": "src/index.js",
|
"main": "src/index.js",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
|
|
|
@ -1,14 +1,12 @@
|
||||||
// fixed, improved, added, progress
|
// fixed, improved, added, progress
|
||||||
export default {
|
export default {
|
||||||
description: "Big things are coming soon, please be patient!",
|
description: "Sorry for all the updates lately, Discord has been making a lot of internal changes!",
|
||||||
changes: [
|
changes: [
|
||||||
{
|
{
|
||||||
title: "Fixes",
|
title: "Fixes",
|
||||||
type: "fixed",
|
type: "fixed",
|
||||||
items: [
|
items: [
|
||||||
"Fixed an issue where `waitForModule` would not return the found module.",
|
"Fixed an issue where BD wouldn't load on canary/ptb.",
|
||||||
"Fixed an issue where broken addon METAs could prevent BD from fully loading.",
|
|
||||||
"Fixed an issue where developer badges stopped rendering."
|
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
|
|
@ -36,7 +36,7 @@ export default Utilities.memoizeObject({
|
||||||
|
|
||||||
/* Current User Info, State and Settings */
|
/* Current User Info, State and Settings */
|
||||||
get UserInfoStore() {return WebpackModules.getByProps("getToken");},
|
get UserInfoStore() {return WebpackModules.getByProps("getToken");},
|
||||||
get UserSettingsStore() {return WebpackModules.getByProps("guildPositions");},
|
get UserSettingsStore() {return WebpackModules.getByProps("getAllSettings", "theme");},
|
||||||
get AccountManager() {return WebpackModules.getByProps("register", "login");},
|
get AccountManager() {return WebpackModules.getByProps("register", "login");},
|
||||||
get UserSettingsUpdater() {return WebpackModules.getByProps("updateRemoteSettings");},
|
get UserSettingsUpdater() {return WebpackModules.getByProps("updateRemoteSettings");},
|
||||||
get OnlineWatcher() {return WebpackModules.getByProps("isOnline");},
|
get OnlineWatcher() {return WebpackModules.getByProps("isOnline");},
|
||||||
|
|
|
@ -6,7 +6,7 @@ import Events from "./emitter";
|
||||||
const {Dispatcher, UserSettingsStore} = DiscordModules;
|
const {Dispatcher, UserSettingsStore} = DiscordModules;
|
||||||
|
|
||||||
export default new class LocaleManager {
|
export default new class LocaleManager {
|
||||||
get discordLocale() {return UserSettingsStore.locale;}
|
get discordLocale() {return UserSettingsStore?.locale ?? this.defaultLocale;}
|
||||||
get defaultLocale() {return "en-US";}
|
get defaultLocale() {return "en-US";}
|
||||||
|
|
||||||
constructor() {
|
constructor() {
|
||||||
|
|
Loading…
Reference in New Issue