feat: Support Open/Close Dashboard Hotkey

#439
This commit is contained in:
MystiPanda committed 2024-02-24 13:39:30 +08:00
1 parent 8619bd5be3
commit 7bfe0eeae9
6 files changed
+13 -7

No files matched your search

+1 -1
View File
@@ -65,7 +65,7 @@ impl Hotkey {
}
let f = match func.trim() {
"open_dashboard" => feat::open_dashboard,
"open_or_close_dashboard" => feat::open_or_close_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()),