feat: add Open Dashboard to the hotkey, close #723

This commit is contained in:
GyDi
2023-09-10 14:46:03 +08:00
parent f4c7b17a87
commit 3efd575dd2
6 changed files with 15 additions and 0 deletions

View File

@@ -76,6 +76,7 @@ impl Hotkey {
}
let f = match func.trim() {
"open_dashboard" => || feat::open_dashboard(),
"clash_mode_rule" => || feat::change_clash_mode("rule".into()),
"clash_mode_global" => || feat::change_clash_mode("global".into()),
"clash_mode_direct" => || feat::change_clash_mode("direct".into()),