mirror of
https://github.com/immich-app/immich.git
synced 2024-12-25 10:43:13 +02:00
fix(mobile): format
This commit is contained in:
parent
053a5235be
commit
0e8d235148
@ -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(" ");
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user