Fix a few build warnings

This commit is contained in:
Ian Douglas Scott 2025-08-22 13:11:32 -07:00
parent 30ca652b1e
commit 0375f28bb2
3 changed files with 3 additions and 4 deletions

View file

@ -792,11 +792,11 @@ impl Application for App {
iced::Subscription::batch(subscriptions)
}
fn view(&self) -> cosmic::prelude::Element<Self::Message> {
fn view(&self) -> cosmic::Element<'_, Self::Message> {
unreachable!()
}
fn view_window(&self, id: iced::window::Id) -> cosmic::prelude::Element<Self::Message> {
fn view_window(&self, id: iced::window::Id) -> cosmic::Element<'_, Self::Message> {
if let Some(surface) = self.layer_surfaces.get(&id) {
return view::layer_surface(self, surface);
}