unwrap -> ok to avoid unintended crash

This commit is contained in:
rustdesk
2022-01-15 19:11:19 +08:00
parent 35816d4fbb
commit 6bd730bc67
4 changed files with 25 additions and 27 deletions

View File

@@ -605,7 +605,6 @@ pub fn toggle_blank_screen(_v: bool) {
}
pub fn block_input(_v: bool) -> bool {
//
true
}

View File

@@ -403,7 +403,6 @@ pub fn toggle_blank_screen(_v: bool) {
}
pub fn block_input(_v: bool) -> bool {
//
true
}