Fix subscription for iced::pure::Application

This commit is contained in:
Héctor Ramón Jiménez 2022-02-20 13:08:33 +07:00
parent 9b23ea698e
commit 820d332736
No known key found for this signature in database
GPG key ID: 140CC052C94F138E

View file

@ -158,6 +158,10 @@ where
A::update(&mut self.application, message)
}
fn subscription(&self) -> Subscription<Self::Message> {
A::subscription(&self.application)
}
fn view(&mut self) -> crate::Element<'_, Self::Message> {
let content = A::view(&self.application);