Skip to content

Commit

Permalink
fix Android 7 Unhandled Exception: type 'Null' is not a subtype of ty…
Browse files Browse the repository at this point in the history
…pe 'bool'
  • Loading branch information
ycii committed Oct 15, 2021
1 parent f06bcdf commit 5f96c33
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/src/types.dart
Original file line number Diff line number Diff line change
Expand Up @@ -4592,7 +4592,7 @@ class RendererPriorityPolicy {
? RendererPriorityPolicy(
rendererRequestedPriority:
RendererPriority.fromValue(map["rendererRequestedPriority"]),
waivedWhenNotVisible: map["waivedWhenNotVisible"])
waivedWhenNotVisible: map["waivedWhenNotVisible"] ?? false)
: null;
}
}
Expand Down

0 comments on commit 5f96c33

Please sign in to comment.