chore: Merge branch dev to main (#1366)

This commit is contained in:
oSumAtrIX 2023-10-13 00:22:02 +02:00 committed by GitHub
commit f4994a36a3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 10 additions and 2 deletions

View File

@ -12,7 +12,15 @@ class Patch {
required this.options, required this.options,
}); });
factory Patch.fromJson(Map<String, dynamic> json) => _$PatchFromJson(json); factory Patch.fromJson(Map<String, dynamic> json) {
// See: https://github.com/ReVanced/revanced-manager/issues/1364#issuecomment-1760414618
if (json['options'] == null) {
json['options'] = [];
}
return _$PatchFromJson(json);
}
final String name; final String name;
final String? description; final String? description;
final bool excluded; final bool excluded;

View File

@ -4,7 +4,7 @@ homepage: https://github.com/revanced/revanced-manager
publish_to: 'none' publish_to: 'none'
version: 1.12.0+101200000 version: 1.12.1+101200100
environment: environment:
sdk: '>=3.0.0 <4.0.0' sdk: '>=3.0.0 <4.0.0'