Skip to content

Commit

Permalink
fix: Change return type of RiverpodComponentMixin.onLoad to FutureOr<…
Browse files Browse the repository at this point in the history
  • Loading branch information
markvideon authored Jan 7, 2024
1 parent f96a2c5 commit d682385
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/flame_riverpod/lib/src/consumer.dart
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ mixin RiverpodComponentMixin on Component {

@mustCallSuper
@override
void onLoad() {
FutureOr<void> onLoad() {
ref.game = findGame()! as RiverpodGameMixin;
super.onLoad();
}
Expand Down

0 comments on commit d682385

Please sign in to comment.