mirror of
https://github.com/immich-app/immich.git
synced 2024-11-28 09:33:27 +02:00
39d2c4f37b
* chore: remove deprecated title property from MemoryLaneResponseDto * chore: remove deprecated webpPath and resizePath from MetadataSearchDto * chore: remove deprecated sharedUserIds property from Album AddUsersDto * chore: remove deprecated sharedUsers property from AlbumResponseDto * chore: remove deprecated sharedWithUserIds property from CreateAlbumDto * chore: remove deprecated isExternal and isReadOnly properties from AssetResponseDto * chore: remove deprecated /server-info endpoint * chore: bloody linters
8 lines
196 B
Dart
8 lines
196 B
Dart
extension StringExtension on String {
|
|
String capitalizeFirstLetter() {
|
|
return "${this[0].toUpperCase()}${substring(1).toLowerCase()}";
|
|
}
|
|
}
|
|
|
|
String s(num count) => (count == 1 ? '' : 's');
|