From e909f347e316d2a9b44d64695f1fce52d184feae Mon Sep 17 00:00:00 2001 From: Felix Kirchner Date: Fri, 6 Mar 2026 22:11:15 +0100 Subject: [PATCH] Removed unused function --- .../main_menu/match_view/match_result_view.dart | 17 ----------------- 1 file changed, 17 deletions(-) diff --git a/lib/presentation/views/main_menu/match_view/match_result_view.dart b/lib/presentation/views/main_menu/match_view/match_result_view.dart index 3d4587e..8a46f13 100644 --- a/lib/presentation/views/main_menu/match_view/match_result_view.dart +++ b/lib/presentation/views/main_menu/match_view/match_result_view.dart @@ -148,21 +148,4 @@ class _MatchResultViewState extends State { } widget.onWinnerChanged?.call(); } - - /// Retrieves all players associated with the given [match]. - /// This includes players directly assigned to the match - /// as well as members of the group (if any). - /// The returned list is sorted alphabetically by player name. - List getAllPlayers(Match match) { - List players = []; - - if (match.group == null) { - players = [...match.players]; - } else { - players = [...match.players, ...match.group!.members]; - } - - players.sort((a, b) => a.name.compareTo(b.name)); - return players; - } }