mirror of
https://github.com/djibux/BoilR.git
synced 2026-09-01 05:53:41 +02:00
Sort the list of shortcuts in images
This commit is contained in:
@@ -303,7 +303,9 @@ impl MyEguiApp {
|
||||
|
||||
fn handle_user_selected(&mut self, user: SteamUsersInfo) {
|
||||
let state = &mut self.image_selected_state;
|
||||
state.user_shortcuts = Some(crate::steam::get_shortcuts_for_user(&user).shortcuts);
|
||||
let mut shortcuts = crate::steam::get_shortcuts_for_user(&user).shortcuts;
|
||||
shortcuts.sort_by_key(|s| s.app_name.clone());
|
||||
state.user_shortcuts = Some(shortcuts);
|
||||
state.steam_user = Some(user);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user