Compare commits

...

3 Commits

Author SHA1 Message Date
oSumAtrIX
e6a8f4e6dc build: Bump version to v1.15.1 2023-11-04 22:41:48 +01:00
oSumAtrIX
494e268bc5 fix: Use correct method name for string replacement 2023-11-04 22:41:27 +01:00
oSumAtrIX
e1c6f65b7e chore: Merge branch dev to main (#1446) 2023-11-04 22:10:14 +01:00
2 changed files with 8 additions and 5 deletions

View File

@@ -73,11 +73,14 @@ class Option {
static void _migrateV17ToV19(Map<String, dynamic> json) { static void _migrateV17ToV19(Map<String, dynamic> json) {
if (json['valueType'] == null) { if (json['valueType'] == null) {
json['valueType'] = json['optionClassType'] final type = json['optionClassType'];
.replace('PatchOption', '') if (type is String) {
.replace('List', 'Array'); json['valueType'] = type
.replaceAll('PatchOption', '')
.replaceAll('List', 'Array');
json['optionClassType'] = null; json['optionClassType'] = null;
}
} }
} }

View File

@@ -4,7 +4,7 @@ homepage: https://github.com/revanced/revanced-manager
publish_to: 'none' publish_to: 'none'
version: 1.15.0+101500000 version: 1.15.1+101500100
environment: environment:
sdk: '>=3.0.0 <4.0.0' sdk: '>=3.0.0 <4.0.0'