Fix warnings

This commit is contained in:
Jeremy Soller 2023-12-21 09:53:31 -07:00
parent 8ec9fd22c9
commit 8008d0d2b0
No known key found for this signature in database
GPG key ID: DCFCA852D3906975
3 changed files with 11 additions and 20 deletions

View file

@ -6,7 +6,6 @@ use cosmic::{
app::{Command, Core, Settings},
cosmic_theme, executor,
iced::{
self,
futures::SinkExt,
subscription::{self, Subscription},
widget::row,
@ -91,7 +90,7 @@ impl cosmic::Application for App {
}
/// Creates the application, and optionally emits command on initialize.
fn init(core: Core, input: Self::Flags) -> (Self, Command<Self::Message>) {
fn init(core: Core, _flags: Self::Flags) -> (Self, Command<Self::Message>) {
let mut app = App {
core,
tab_model: segmented_button::ModelBuilder::default().build(),