update file transfer and adjust icon size

This commit is contained in:
csf committed 2022-09-06 19:08:45 +08:00
1 parent 82acb6a351
commit 235eb5415e
7 files changed
+76 -58

No files matched your search

+1
View File
@@ -1665,6 +1665,7 @@ pub async fn handle_login_from_ui(
/// Interface for client to send data and commands.
#[async_trait]
pub trait Interface: Send + Clone + 'static + Sized {
/// Send message data to remote peer.
fn send(&self, data: Data);
fn msgbox(&self, msgtype: &str, title: &str, text: &str);
fn handle_login_error(&mut self, err: &str) -> bool;