Fix warnings

This commit is contained in:
Jeremy Soller 2024-02-27 09:58:22 -07:00
parent e9da2bfb90
commit 9b22c8f9ed
No known key found for this signature in database
GPG key ID: D02FD439211AF56F
4 changed files with 23 additions and 45 deletions

View file

@ -12,7 +12,6 @@ use cosmic::{
subscription::{self, Subscription},
window, Event, Length, Size,
},
style,
widget::{self, segmented_button},
Application, ApplicationExt, Element,
};
@ -600,12 +599,7 @@ impl Application for App {
/// Creates a view after each update.
fn view(&self) -> Element<Message> {
let cosmic_theme::Spacing {
space_m,
space_s,
space_xxs,
..
} = self.core().system_theme().cosmic().spacing;
let cosmic_theme::Spacing { space_xxs, .. } = self.core().system_theme().cosmic().spacing;
let mut tab_column = widget::column::with_capacity(2);
tab_column = tab_column.push(