Remove 1745 decorative breaks (#123259)

Remove 1745 decorative breaks
This commit is contained in:
Michael Goderbauer
2023-03-22 14:12:22 -07:00
committed by GitHub
parent 14a15dedbe
commit fda9ecfef7
291 changed files with 2 additions and 1749 deletions

View File

@@ -405,10 +405,8 @@ String generateType(Map<String, dynamic>? attributes) {
switch (attributes['x-flutter-type'] as String?) {
case 'icuShortTimePattern':
type = 'TimeOfDayFormat';
break;
case 'scriptCategory':
type = 'ScriptCategory';
break;
}
}
return type + (optional ? '?' : '');

View File

@@ -71,12 +71,10 @@ class LocaleInfo implements Comparable<LocaleInfo> {
case 'CN':
case 'SG':
scriptCode = 'Hans';
break;
case 'TW':
case 'HK':
case 'MO':
scriptCode = 'Hant';
break;
}
break;
}
@@ -339,13 +337,10 @@ void precacheLanguageAndRegionTags() {
switch (type) {
case 'language':
_languages[subtag] = description;
break;
case 'region':
_regions[subtag] = description;
break;
case 'script':
_scripts[subtag] = description;
break;
}
}
}