mirror of
https://github.com/immich-app/immich
synced 2026-08-15 13:03:57 +00:00
refactor: migrate network config (#28471)
This commit is contained in:
parent
40925f0a06
commit
9cffcc9f4e
17 changed files with 311 additions and 102 deletions
|
|
@ -4,6 +4,8 @@ extension StringExtension on String {
|
|||
String capitalize() {
|
||||
return split(" ").map((str) => str.isEmpty ? str : str[0].toUpperCase() + str.substring(1)).join(" ");
|
||||
}
|
||||
|
||||
String? get nullIfEmpty => isEmpty ? null : this;
|
||||
}
|
||||
|
||||
extension DurationExtension on String {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue