fix: handling of surface action

This commit is contained in:
Ashley Wulber 2025-03-17 22:18:25 -04:00 committed by Ashley Wulber
parent 2a939e5a11
commit 619550cf61
9 changed files with 45 additions and 9 deletions

View file

@ -565,7 +565,11 @@ impl cosmic::Application for CosmicNetworkApplet {
return self.update(Message::SelectWirelessAccessPoint(ap));
}
}
Message::Surface(surface_message) => unreachable!(),
Message::Surface(a) => {
return cosmic::task::message(cosmic::Action::Cosmic(
cosmic::app::Action::Surface(a),
));
}
}
Task::none()
}