remove mac tray session count tooltip, which won't be shown

Signed-off-by: 21pages <pages21@163.com>
This commit is contained in:
21pages
2023-09-16 21:46:44 +08:00
parent 86e2ac1497
commit 3389c798f6
2 changed files with 6 additions and 7 deletions

View File

@@ -233,7 +233,7 @@ pub enum Data {
#[cfg(windows)]
SyncWinCpuUsage(Option<f64>),
FileTransferLog(String),
#[cfg(any(windows, target_os = "macos"))]
#[cfg(windows)]
ControlledSessionCount(usize),
}
@@ -483,7 +483,7 @@ async fn handle(data: Data, stream: &mut Connection) {
#[cfg(all(feature = "flutter", feature = "plugin_framework"))]
#[cfg(not(any(target_os = "android", target_os = "ios")))]
Data::Plugin(plugin) => crate::plugin::ipc::handle_plugin(plugin, stream).await,
#[cfg(any(windows, target_os = "macos"))]
#[cfg(windows)]
Data::ControlledSessionCount(_) => {
allow_err!(
stream