fix: change message bound for toaster

This commit is contained in:
wiiznokes 2024-07-02 18:08:47 +02:00 committed by Michael Murphy
parent 4449b29cc9
commit 4da66f8cc0

View file

@ -147,7 +147,7 @@ impl<Message> Toasts<Message> {
pub fn push( pub fn push(
&mut self, &mut self,
mut toast: Toast<Message>, mut toast: Toast<Message>,
) -> Command<crate::app::message::Message<Message>> ) -> Command<Message>
where where
Message: From<ToastMessage>, Message: From<ToastMessage>,
{ {