Merge pull request #5386 from dignow/refact/tab_2_window_flutter_data

Refact/tab 2 window flutter data
This commit is contained in:
RustDesk
2023-08-23 12:52:19 +08:00
committed by GitHub
15 changed files with 179 additions and 138 deletions

View File

@@ -2387,7 +2387,7 @@ pub trait Interface: Send + Clone + 'static + Sized {
fn send(&self, data: Data);
fn msgbox(&self, msgtype: &str, title: &str, text: &str, link: &str);
fn handle_login_error(&mut self, err: &str) -> bool;
fn handle_peer_info(&mut self, pi: PeerInfo, is_cached_pi: bool);
fn handle_peer_info(&mut self, pi: PeerInfo);
fn on_error(&self, err: &str) {
self.msgbox("error", "Error", err, "");
}