Rename PlateformSpecific variant in Action to Custom

This commit is contained in:
Héctor Ramón Jiménez 2024-02-03 15:10:45 +01:00
parent 6e97595d95
commit 2656906903
No known key found for this signature in database
GPG key ID: 7CC46565708259A7
3 changed files with 10 additions and 5 deletions

View file

@ -861,7 +861,9 @@ pub fn run_command<A, C, E>(
.send_event(tagger(Ok(())))
.expect("Send message to event loop");
}
command::Action::PlatformSpecific(_) => unimplemented!(),
command::Action::Custom(_) => {
log::warn!("Unsupported custom action in `iced_winit` shell");
}
}
}
}

View file

@ -1127,6 +1127,9 @@ fn run_command<A, C, E>(
.send_event(tagger(Ok(())))
.expect("Send message to event loop");
}
command::Action::Custom(_) => {
log::warn!("Unsupported custom action in `iced_winit` shell");
}
}
}
}