Skip to content

Commit

Permalink
Sort the profile presets by name
Browse files Browse the repository at this point in the history
  • Loading branch information
MrPowerGamerBR committed Nov 17, 2024
1 parent 37cd7c9 commit 557d2d9
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ class ProfilePresetsListView(

if (profilePresets.isNotEmpty()) {
div(classes = "loritta-items-wrapper") {
for (preset in profilePresets) {
for (preset in profilePresets.sortedBy { it[UserCreatedProfilePresets.name] }) {
div(classes = "shop-item-entry rarity-rare") {
val buttons = mutableListOf<BUTTON.() -> (Unit)>(
{
Expand Down

0 comments on commit 557d2d9

Please sign in to comment.