removed unneccessary null assertion operators
All checks were successful
Pull Request Pipeline / test (pull_request) Successful in 2m3s
Pull Request Pipeline / lint (pull_request) Successful in 2m6s

This commit is contained in:
2026-01-02 21:16:13 +01:00
parent a038c22ba6
commit 678ab90af3
7 changed files with 17 additions and 21 deletions

View File

@@ -132,7 +132,7 @@ class _PlayerSelectionState extends State<PlayerSelection> {
Text(
AppLocalizations.of(
context,
)!.selected_players(selectedPlayers.length),
).selected_players(selectedPlayers.length),
style: const TextStyle(fontSize: 16, fontWeight: FontWeight.bold),
),
const SizedBox(height: 10),
@@ -206,7 +206,7 @@ class _PlayerSelectionState extends State<PlayerSelection> {
? AppLocalizations.of(context).all_players_selected
: AppLocalizations.of(
context,
)!.no_players_found_with_that_name,
).no_players_found_with_that_name,
),
child: ListView.builder(
itemCount: suggestedPlayers.length,
@@ -264,7 +264,7 @@ class _PlayerSelectionState extends State<PlayerSelection> {
child: Text(
AppLocalizations.of(
context,
)!.successfully_added_player(playerName),
).successfully_added_player(playerName),
style: const TextStyle(color: Colors.white),
),
),