Skip to content

Commit

Permalink
sort friend list case-insensitive
Browse files Browse the repository at this point in the history
  • Loading branch information
FIr3baL committed Feb 19, 2024
1 parent e72461d commit c3a3945
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion LuaMenu/widgets/chobby/components/friend_list_window.lua
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ FriendListWindow = ListWindow:extends{}
-----------------------------

function FriendListWindow:CompareItems(userName1, userName2)
return userName1 < userName2
return userName1:lower() < userName2:lower()
end

function FriendListWindow:AddFriendRequest(userName)
Expand Down

0 comments on commit c3a3945

Please sign in to comment.