fix(mobile): sort time zones by name within the same offset (#32087)

This commit is contained in:
Lee, Hyo jun
2026-10-16 17:57:13 +09:00
committed by GitHub
parent 3ae7111741
commit 83594a0cee
@@ -181,6 +181,7 @@ abstract class _TimeZoneOffset with _$TimeZoneOffset implements Comparable<_Time
@override
int compareTo(_TimeZoneOffset other) {
return offsetInMilliseconds.compareTo(other.offsetInMilliseconds);
final offset = offsetInMilliseconds.compareTo(other.offsetInMilliseconds);
return offset != 0 ? offset : location.name.compareTo(other.location.name);
}
}