mirror of
https://github.com/ReVanced/revanced-manager.git
synced 2026-01-27 21:11:01 +00:00
Compare commits
3 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
e6a8f4e6dc | ||
|
|
494e268bc5 | ||
|
|
e1c6f65b7e |
@@ -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;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -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'
|
||||||
|
|||||||
Reference in New Issue
Block a user