mirror of
https://github.com/revanced/revanced-manager
synced 2024-05-14 13:56:57 +02:00
Merge branch 'dev' into feat/patch-history
# Conflicts: # lib/models/patch.dart # lib/services/patcher_api.dart # pubspec.yaml
This commit is contained in:
commit
36572abaea
@ -73,11 +73,14 @@ class Option {
|
||||
|
||||
static void _migrateV17ToV19(Map<String, dynamic> json) {
|
||||
if (json['valueType'] == null) {
|
||||
json['valueType'] = json['optionClassType']
|
||||
.replace('PatchOption', '')
|
||||
.replace('List', 'Array');
|
||||
final type = json['optionClassType'];
|
||||
if (type is String) {
|
||||
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'
|
||||
|
||||
version: 1.14.2+101400200
|
||||
version: 1.15.1+101500100
|
||||
|
||||
environment:
|
||||
sdk: '>=3.0.0 <4.0.0'
|
||||
|
Loading…
Reference in New Issue
Block a user