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

This commit is contained in:
Lee, Hyo jun
2026-10-16 20:51:28 +03:00
committed by Codex
parent 12196bef4f
commit 9e89e65d23
@@ -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);
}
}