Skip to content
This repository has been archived by the owner on Dec 30, 2024. It is now read-only.

Commit

Permalink
Fixed Event firing
Browse files Browse the repository at this point in the history
  • Loading branch information
jasonlessenich committed Feb 29, 2024
1 parent 2a2dfcd commit 3ed4372
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/src/events/event_handler.dart
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,6 @@ class RestrrEventHandler {
}

void fire<T extends RestrrEvent>(T event) {
eventMap[T.runtimeType]?.call(event);
eventMap[event.runtimeType]?.call(event);
}
}

0 comments on commit 3ed4372

Please sign in to comment.