Skip to content

Commit ab6c784

Browse files
committed
fix complilation
1 parent 65fd189 commit ab6c784

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

RustApp/src/ui/app.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -841,7 +841,8 @@ impl Application for AppState {
841841
}
842842

843843
fn subscription(&self) -> cosmic::iced::Subscription<Self::Message> {
844-
let subscriptions = vec![Subscription::run(|| streamer::sub().map(AppMsg::Streamer))];
844+
#[allow(unused_mut)]
845+
let mut subscriptions = vec![Subscription::run(|| streamer::sub().map(AppMsg::Streamer))];
845846

846847
#[cfg(not(target_os = "linux"))]
847848
if let Some(system_tray_stream) = &self.system_tray_stream {

0 commit comments

Comments
 (0)