High performance self-hosted photo and video management solution.
TypeScript backup-toolfluttergoogle-photosgoogle-photos-alternativejavascriptmobile-appnestjsnodejsphoto-galleryphotosphotos-managementself-hostedsveltesveltekittypescriptvideos
fix(mobile): sort time zones by name within the same offset (#32087)
Lee, Hyo jun83594a0ceebd
diff --git a/mobile/lib/widgets/common/date_time_picker.dart b/mobile/lib/widgets/common/date_time_picker.dartindex 6b4f714e5f..6b30efe820 100644--- a/mobile/lib/widgets/common/date_time_picker.dart+++ b/mobile/lib/widgets/common/date_time_picker.dart@@ -181,6 +181,7 @@ abstract class _TimeZoneOffset with _$TimeZoneOffset implements Comparable<_Time@overrideint compareTo(_TimeZoneOffset other) {- return offsetInMilliseconds.compareTo(other.offsetInMilliseconds);+ final offset = offsetInMilliseconds.compareTo(other.offsetInMilliseconds);+ return offset != 0 ? offset : location.name.compareTo(other.location.name);}}