Skip to content

Commit

Permalink
Release BetterFolders v3.5.1
Browse files Browse the repository at this point in the history
- Fix issues with Discord update
  • Loading branch information
Zerthox committed Nov 17, 2024
1 parent 4e44026 commit f31b82b
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions dist/bd/BetterFolders.plugin.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/**
* @name BetterFolders
* @version 3.5.0
* @version 3.5.1
* @author Zerthox
* @authorLink https://github.com/Zerthox
* @description Adds new functionality to server folders. Custom Folder Icons. Close other folders on open.
Expand Down Expand Up @@ -535,7 +535,7 @@ const index = createPlugin({
}
}
});
waitFor(bySource(".GUILD_FOLDER_NAME"), { entries: true }).then((FolderSettingsModal) => {
waitFor(bySource(".folderName", ".onClose"), { entries: true }).then((FolderSettingsModal) => {
if (FolderSettingsModal) {
after(FolderSettingsModal.prototype, "render", (data) => folderModalPatch(data, FolderIcon), { name: "GuildFolderSettingsModal" });
}
Expand Down
2 changes: 1 addition & 1 deletion dist/bd/README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
## [BetterFolders](https://betterdiscord.app/plugin/BetterFolders) <sub><sup>`v3.5.0` *(Updated: 06/09/2024)*</sup></sub>
## [BetterFolders](https://betterdiscord.app/plugin/BetterFolders) <sub><sup>`v3.5.1` *(Updated: 17/11/2024)*</sup></sub>
Adds new functionality to server folders. Custom Folder Icons. Close other folders on open.

## [BetterVolume](https://betterdiscord.app/plugin/BetterVolume) <sub><sup>`v3.0.0` *(Updated: 10/08/2024)*</sup></sub>
Expand Down
2 changes: 1 addition & 1 deletion src/BetterFolders/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ export default createPlugin({
});

// patch folder settings render
Finder.waitFor(Filters.bySource(".GUILD_FOLDER_NAME"), {entries: true}).then((FolderSettingsModal: FolderSettingsModal) => {
Finder.waitFor(Filters.bySource(".folderName", ".onClose"), {entries: true}).then((FolderSettingsModal: FolderSettingsModal) => {
if (FolderSettingsModal) {
Patcher.after(
FolderSettingsModal.prototype,
Expand Down
2 changes: 1 addition & 1 deletion src/BetterFolders/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "BetterFolders",
"author": "Zerthox",
"version": "3.5.0",
"version": "3.5.1",
"description": "Adds new functionality to server folders. Custom Folder Icons. Close other folders on open.",
"dependencies": {
"dium": "*"
Expand Down

0 comments on commit f31b82b

Please sign in to comment.