fix cur session

Signed-off-by: fufesou <shuanglongchen@yeah.net>
This commit is contained in:
fufesou
2023-01-20 21:03:30 +08:00
parent 30278d12d3
commit 3dcada128b
6 changed files with 68 additions and 47 deletions

View File

@@ -577,6 +577,7 @@ pub fn is_installed_daemon(_prompt: bool) -> bool {
}
#[inline]
#[cfg(feature = "flutter")]
pub fn is_can_input_monitoring(_prompt: bool) -> bool {
#[cfg(target_os = "macos")]
return crate::platform::macos::is_can_input_monitoring(_prompt);