Fix a few build warnings
This commit is contained in:
parent
30ca652b1e
commit
0375f28bb2
3 changed files with 3 additions and 4 deletions
|
|
@ -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);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue