remove unnecessary trim
This commit is contained in:
@@ -234,7 +234,7 @@ class _CreateMatchViewState extends State<CreateMatchView> {
|
|||||||
? () async {
|
? () async {
|
||||||
Match match = Match(
|
Match match = Match(
|
||||||
name: _matchNameController.text.isEmpty
|
name: _matchNameController.text.isEmpty
|
||||||
? hintText.trim()
|
? hintText
|
||||||
: _matchNameController.text.trim(),
|
: _matchNameController.text.trim(),
|
||||||
createdAt: DateTime.now(),
|
createdAt: DateTime.now(),
|
||||||
group: selectedGroup,
|
group: selectedGroup,
|
||||||
|
|||||||
Reference in New Issue
Block a user