From 6026f432da4476b508a1d3373ca953db9bdf141e Mon Sep 17 00:00:00 2001 From: Tunglies <77394545+Tunglies@users.noreply.github.com> Date: Sun, 9 Nov 2025 16:02:21 +0800 Subject: [PATCH] fix: update method call to fetch configuration data for global hotkey settings --- src-tauri/src/lib.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src-tauri/src/lib.rs b/src-tauri/src/lib.rs index 01573ef46..42758a4f9 100644 --- a/src-tauri/src/lib.rs +++ b/src-tauri/src/lib.rs @@ -322,7 +322,7 @@ pub fn run() { AsyncHandler::spawn(move || async move { let is_enable_global_hotkey = Config::verge() .await - .latest_arc() + .data_arc() .enable_global_hotkey .unwrap_or(true); @@ -362,7 +362,7 @@ pub fn run() { let _ = hotkey::Hotkey::global().unregister_system_hotkey(SystemHotkey::CmdW); let is_enable_global_hotkey = Config::verge() .await - .latest_arc() + .data_arc() .enable_global_hotkey .unwrap_or(true); if !is_enable_global_hotkey {