Skip to content

Commit

Permalink
Fix: HideDownloadAppsButton.theme.css
Browse files Browse the repository at this point in the history
- Adapts the classes in the HideDownloadAppsButton.theme.css
  to a more robust selector.
- Removed the unused ThemeStore from discordmodules.js.
  • Loading branch information
tsukasa committed Oct 26, 2023
1 parent 560b02d commit a6be2d4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
4 changes: 2 additions & 2 deletions assets/bd-themes/HideDownloadAppsButton.theme.css
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
* @description Removes the unwanted "Download Apps" button from the guild list in the web-client.
*/

ul[data-list-id='guildsnav'] > div[class^='scroller-'] > div[class^='listItem-']:nth-last-of-type(2),
ul[data-list-id='guildsnav'] > div[class^='scroller-'] > div[class^='listItem-']:nth-last-of-type(3) {
ul[data-list-id='guildsnav'] > div[class^='scroller'] > div[class^='listItem']:nth-last-of-type(2),
ul[data-list-id='guildsnav'] > div[class^='scroller'] > div[class^='listItem']:nth-last-of-type(3) {
visibility: hidden;
display: none;
}
3 changes: 0 additions & 3 deletions frontend/src/modules/discordmodules.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
import Webpack from "modules/webpack";

export default {
/* Current User Info, State and Settings */
get ThemeStore() {return Webpack.getByProps("addChangeListener", "theme");},

/* User Stores and Utils */
get UserStore() {return Webpack.getByProps("getCurrentUser", "getUser");},

Expand Down

0 comments on commit a6be2d4

Please sign in to comment.