mirror of
https://github.com/feschber/lan-mouse.git
synced 2026-03-22 12:40:54 +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>) {
|
||||
match msg {
|
||||
None => self.show_toast(format!("port changed: {port}").as_str()),
|
||||
Some(msg) => self.show_toast(msg.as_str()),
|
||||
if let Some(msg) = msg {
|
||||
self.show_toast(msg.as_str());
|
||||
}
|
||||
self.imp().set_port(port);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user