Skip to content

Commit

Permalink
chore: Merge branch dev to main (ReVanced#1366)
Browse files Browse the repository at this point in the history
  • Loading branch information
oSumAtrIX authored Oct 12, 2023
2 parents 38a2fa5 + 7a785a8 commit f4994a3
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
10 changes: 9 additions & 1 deletion lib/models/patch.dart
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,15 @@ class Patch {
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? description;
final bool excluded;
Expand Down
2 changes: 1 addition & 1 deletion pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ homepage: https://github.com/revanced/revanced-manager

publish_to: 'none'

version: 1.12.0+101200000
version: 1.12.1+101200100

environment:
sdk: '>=3.0.0 <4.0.0'
Expand Down

0 comments on commit f4994a3

Please sign in to comment.