mirror of
https://github.com/weyne85/rustdesk.git
synced 2025-10-29 17:00:05 +00:00
replace close button to inkwell
Signed-off-by: dignow <linlong1265@gmail.com>
This commit is contained in:
@@ -685,7 +685,7 @@ pub fn main_get_connect_status() -> String {
|
||||
}
|
||||
#[cfg(any(target_os = "android", target_os = "ios"))]
|
||||
{
|
||||
let mut state = hbb_common::config::get_online_statue();
|
||||
let mut state = hbb_common::config::get_online_state();
|
||||
if state > 0 {
|
||||
state = 1;
|
||||
}
|
||||
|
||||
@@ -347,7 +347,7 @@ async fn handle(data: Data, stream: &mut Connection) {
|
||||
}
|
||||
}
|
||||
Data::OnlineStatus(_) => {
|
||||
let x = config::get_online_statue();
|
||||
let x = config::get_online_state();
|
||||
let confirmed = Config::get_key_confirmed();
|
||||
allow_err!(stream.send(&Data::OnlineStatus(Some((x, confirmed)))).await);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user