fix(mobile): format

pull/2951/head
Alex Tran 2023-06-27 12:28:15 +07:00
parent 053a5235be
commit 0e8d235148
1 changed files with 4 additions and 4 deletions

@ -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(" ");
}
}