remove flutter extra "waiting for image"

Signed-off-by: 21pages <pages21@163.com>
This commit is contained in:
21pages
2023-08-06 22:11:31 +08:00
parent 6111042907
commit 186f5ed39c
4 changed files with 35 additions and 28 deletions

View File

@@ -3,9 +3,7 @@ use hbb_common::password_security;
use hbb_common::{
allow_err,
config::{self, Config, LocalConfig, PeerConfig},
directories_next, log,
sodiumoxide::base64,
tokio,
directories_next, log, tokio,
};
use hbb_common::{
bytes::Bytes,
@@ -615,6 +613,7 @@ pub fn peer_to_map(id: String, p: PeerConfig) -> HashMap<&'static str, String> {
#[cfg(feature = "flutter")]
pub fn peer_to_map_ab(id: String, p: PeerConfig) -> HashMap<&'static str, String> {
use hbb_common::sodiumoxide::base64;
let mut m = peer_to_map(id, p.clone());
m.insert(
"hash",