remove unnecessary trim
All checks were successful
Pull Request Pipeline / test (pull_request) Successful in 2m18s
Pull Request Pipeline / lint (pull_request) Successful in 2m18s

This commit is contained in:
2026-01-01 22:45:55 +01:00
parent b5c17ac5a9
commit b0073addf8

View File

@@ -234,7 +234,7 @@ class _CreateMatchViewState extends State<CreateMatchView> {
? () async {
Match match = Match(
name: _matchNameController.text.isEmpty
? hintText.trim()
? hintText
: _matchNameController.text.trim(),
createdAt: DateTime.now(),
group: selectedGroup,