Skip to content
This repository was archived by the owner on Feb 25, 2025. It is now read-only.

Commit 755c10a

Browse files
committed
missed a spot
1 parent fdaa50f commit 755c10a

File tree

1 file changed

+0
-16
lines changed

1 file changed

+0
-16
lines changed

lib/ui/hooks.dart

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -88,22 +88,6 @@ void _updateLocales(List<String> locales) {
8888
_invoke(window.onLocaleChanged, window._onLocaleChangedZone);
8989
}
9090

91-
@pragma('vm:entry-point')
92-
// ignore: unused_element
93-
void _updatePlatformResolvedLocale(List<String> localeData) {
94-
if (localeData.length != 4) {
95-
return;
96-
}
97-
final String countryCode = localeData[1];
98-
final String scriptCode = localeData[2];
99-
100-
window._platformResolvedLocale = Locale.fromSubtags(
101-
languageCode: localeData[0],
102-
countryCode: countryCode.isEmpty ? null : countryCode,
103-
scriptCode: scriptCode.isEmpty ? null : scriptCode,
104-
);
105-
}
106-
10791
@pragma('vm:entry-point')
10892
// ignore: unused_element
10993
void _updateUserSettingsData(String jsonData) {

0 commit comments

Comments
 (0)