mirror of
https://github.com/feschber/lan-mouse.git
synced 2026-04-17 20:41:29 +03:00
remove port change notification
This commit is contained in:
@@ -295,9 +295,8 @@ impl Window {
|
|||||||
}
|
}
|
||||||
|
|
||||||
pub(super) fn update_port(&self, port: u16, msg: Option<String>) {
|
pub(super) fn update_port(&self, port: u16, msg: Option<String>) {
|
||||||
match msg {
|
if let Some(msg) = msg {
|
||||||
None => self.show_toast(format!("port changed: {port}").as_str()),
|
self.show_toast(msg.as_str());
|
||||||
Some(msg) => self.show_toast(msg.as_str()),
|
|
||||||
}
|
}
|
||||||
self.imp().set_port(port);
|
self.imp().set_port(port);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user