Skip to content

High performance self-hosted photo and video management solution.

fix(mobile): format

Alex Tran0e8d2351485c
diff --git a/mobile/lib/utils/capitalize.dart b/mobile/lib/utils/capitalize.dart
index b558d83a33..80b10cc582 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(" ");
}
}