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

Signed-off-by: 21pages <pages21@163.com>
This commit is contained in:
21pages committed 2023-09-18 14:49:51 +08:00
1 parent 86e2ac1497
commit 3389c798f6
2 files changed
+6 -7

No files matched your search

+2 -2
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