Skip to content

Commit

Permalink
Fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
doonv committed Aug 16, 2024
1 parent ea11ebc commit d5d21b1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/logging.rs
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@ pub fn custom_log_layer(app: &mut App) -> Option<BoxedLayer> {
}

fn create_custom_log_layer(app: &mut App) -> LogCaptureLayer {
let (sender, reciever) = mpsc::channel();
let (sender, receiver) = mpsc::channel();
app.add_event::<LogMessage>();
app.insert_non_send_resource(CapturedLogEvents(reciever));
app.insert_non_send_resource(CapturedLogEvents(receiver));
app.add_systems(PostUpdate, transfer_log_events);

LogCaptureLayer { sender }
Expand Down

0 comments on commit d5d21b1

Please sign in to comment.