Skip to content

Commit

Permalink
fix: stickers+ button not showing
Browse files Browse the repository at this point in the history
  • Loading branch information
lekoOwO committed Mar 28, 2024
1 parent f8de6d2 commit 3a9c2ac
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/plugins/moreStickers/components/PickerHeader.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/

import { debounce } from "@utils/debounce";
import { debounce } from "@shared/debounce";
import { React, TextInput } from "@webpack/common";

import { Header } from "./header";
Expand Down
2 changes: 1 addition & 1 deletion src/plugins/moreStickers/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ export default definePlugin({
}]
},
{
find: '"ChannelTextAreaButtons"',
find: '.gifts)',
replacement: {
match: /,\(null===\(\w=\w\.stickers\)\|\|void 0.*?(\w)\.push\((\(0,\w\.jsx\))\((.+?),{disabled:\w,type:(\w)},"sticker"\)\)/,
replace: (m, _, jsx, compo, type) => {
Expand Down

0 comments on commit 3a9c2ac

Please sign in to comment.