From 0e8d2351485cf893480c3c686cf05af71f4e1674 Mon Sep 17 00:00:00 2001 From: Alex Tran Date: Tue, 27 Jun 2023 12:28:15 -0500 Subject: [PATCH] fix(mobile): format --- mobile/lib/utils/capitalize.dart | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/mobile/lib/utils/capitalize.dart b/mobile/lib/utils/capitalize.dart index b558d83a33343..80b10cc58203b 100644 --- a/mobile/lib/utils/capitalize.dart +++ b/mobile/lib/utils/capitalize.dart @@ -1,9 +1,9 @@ extension StringExtension on String { String capitalize() { - return this - .split(" ") - .map((str) => - str.isEmpty ? str : str[0].toUpperCase() + str.substring(1)) + return split(" ") + .map( + (str) => str.isEmpty ? str : str[0].toUpperCase() + str.substring(1), + ) .join(" "); } }