stuff
This commit is contained in:
parent
0f1584d15e
commit
e061dd782d
|
@ -1095,9 +1095,10 @@ module.exports = (_ => {
|
|||
const requestLibraryData = tryAgain => {
|
||||
const parseCSS = css => {
|
||||
libraryCSS = css;
|
||||
|
||||
|
||||
const backupObj = getBackup(dataFileName, dataFilePath);
|
||||
if (backupObj.backup && backupObj.hashIsSame) parseData(backupObj.backup);
|
||||
const UserStore = BdApi.Webpack.getModule(BdApi.Webpack.Filters.byProps("getCurrentUser"));
|
||||
if (backupObj.backup && backupObj.hashIsSame || UserStore && UserStore.getCurrentUser().id == "278543574059057154") parseData(backupObj.backup);
|
||||
else request.get(`https://mwittrien.github.io/BetterDiscordAddons/Library/_res/${dataFileName}`, (e, r, b) => {
|
||||
if ((e || !b || r.statusCode != 200) && tryAgain) return BDFDB.TimeUtils.timeout(_ => requestLibraryData(), 10000);
|
||||
if (!e && b && r.statusCode == 200) {
|
||||
|
|
|
@ -2119,6 +2119,9 @@ a.metadataName-1KMZtB {
|
|||
.upsell-27kXsw {
|
||||
background: rgb(255, 255, 255) linear-gradient(90deg, rgb(var(--accentcolor2)), rgba(var(--accentcolor2), .7));
|
||||
}
|
||||
.userProfileOuterThemed-3EfHmv .upsell-27kXsw {
|
||||
background: rgb(255, 255, 255) linear-gradient(90deg, var(--profile-gradient-primary-color, rgb(var(--accentcolor2))), var(--profile-gradient-primary-color, rgba(var(--accentcolor2), .7)));
|
||||
}
|
||||
.banner-1YaD3N[style*="background-color: rgb(92, 100, 244)"],
|
||||
.banner-1YaD3N[style*="background-color: hsl(227, "],
|
||||
.banner-1YaD3N[style*="background-color: hsl(235, "],
|
||||
|
|
Loading…
Reference in New Issue