mirror of
https://github.com/clash-verge-rev/clash-verge-rev.git
synced 2026-01-29 08:45:41 +08:00
@@ -635,7 +635,9 @@ async fn create_tray_menu(
|
|||||||
let should_show = match mode {
|
let should_show = match mode {
|
||||||
"global" => group_name == "GLOBAL",
|
"global" => group_name == "GLOBAL",
|
||||||
_ => group_name != "GLOBAL",
|
_ => group_name != "GLOBAL",
|
||||||
};
|
} &&
|
||||||
|
// Check if the group is hidden
|
||||||
|
!group_data.get("hidden").and_then(|v| v.as_bool( )).unwrap_or(false);
|
||||||
|
|
||||||
if !should_show {
|
if !should_show {
|
||||||
continue;
|
continue;
|
||||||
|
|||||||
Reference in New Issue
Block a user