Skip to content

Commit

Permalink
Merge branch 'main' into main
Browse files Browse the repository at this point in the history
  • Loading branch information
yofukashino authored Jun 20, 2024
2 parents c4fb01e + 67ce4b7 commit b9c1fc2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions plugins/pindms/components/GuildPins.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -217,6 +217,7 @@ function GuildPin({ id }: { id: string }) {
{Badge && (unreadCount ?? 0) > 0
? Badge.renderMentionBadge!(unreadCount)
: Badge?.renderMediaBadge!(mediaInfo)}

</>
)}
</span>
Expand Down
1 change: 1 addition & 0 deletions plugins/pindms/components/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,7 @@ export const StatusBlob = AvatarRaw?.X as FC | undefined;

const BadgeRaw = webpack.getBySource('"count","color","disableColor","shape","className","style"');


const BadgeMod = await webpack.waitForModule(webpack.filters.bySource(".isCurrentUserConnected]"));
export const Badge = {
renderMediaBadge: webpack.getFunctionBySource<
Expand Down

0 comments on commit b9c1fc2

Please sign in to comment.