refactor is_custom_client

This commit is contained in:
rustdesk
2025-02-26 00:32:54 +08:00
parent 280c12942f
commit d8496aba0b
2 changed files with 9 additions and 1 deletions

View File

@@ -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> {