mirror of
https://github.com/rustdesk/rustdesk.git
synced 2026-11-04 08:34:12 +00:00
refactor is_custom_client
This commit is contained in:
1 parent
280c12942f
commit
d8496aba0b
2 files changed
+9
-1
No files matched your search
+1
-1
@@ -2015,7 +2015,7 @@ pub fn is_outgoing_only() -> SyncReturn<bool> {
|
||||
}
|
||||
|
||||
pub fn is_custom_client() -> SyncReturn<bool> {
|
||||
SyncReturn(get_app_name() != "RustDesk")
|
||||
SyncReturn(crate::common::is_custom_client())
|
||||
}
|
||||
|
||||
pub fn is_disable_settings() -> SyncReturn<bool> {
|
||||
|
||||
Reference in new issue
Block a user