mirror of
https://github.com/revanced/revanced-manager.git
synced 2025-06-12 04:37:37 +02:00
fix: microg patches ame is not titlecase
This commit is contained in:
@ -26,7 +26,12 @@ class Patch {
|
||||
Map<String, dynamic> toJson() => _$PatchToJson(this);
|
||||
|
||||
String getSimpleName() {
|
||||
return name.replaceAll('-', ' ').split('-').join(' ').toTitleCase();
|
||||
return name
|
||||
.replaceAll('-', ' ')
|
||||
.split('-')
|
||||
.join(' ')
|
||||
.toTitleCase()
|
||||
.replaceFirst('Microg', 'MicroG');
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user