Skip to content

Commit

Permalink
Temporary remove custom badges from profile
Browse files Browse the repository at this point in the history
  • Loading branch information
WinG4merBR committed Jan 9, 2025
1 parent 63f0bf7 commit 2c701ed
Showing 1 changed file with 7 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -42,13 +42,13 @@ object BadgeUtils {
}
}

defaultBadges.filter { it.isFromGuild != null }.forEach { badge ->
if (userBadges.none {
it.id == badge.id || it.isFromGuild == badge.isFromGuild
}) {
userBadges.add(badge)
}
}
// defaultBadges.filter { it.isFromGuild != null }.forEach { badge ->
// if (userBadges.none {
// it.id == badge.id || it.isFromGuild == badge.isFromGuild
// }) {
// userBadges.add(badge)
// }
// }

return userBadges.distinctBy { it.id }.sortedByDescending { it.priority }
}
Expand Down

0 comments on commit 2c701ed

Please # to comment.