Skip to content

Commit

Permalink
fix(backend): fix deadlock issue on config (#312)
Browse files Browse the repository at this point in the history
  • Loading branch information
4o3F authored Jan 23, 2024
1 parent d251cf2 commit 23ced3b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backend/tauri/src/core/tray.rs
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ impl Tray {

#[cfg(not(target_os = "linux"))]
{
let zh = { Config::verge().latest().language == Some("zh".into()) };
let zh = { verge.language == Some("zh".into()) };
macro_rules! t {
($en: expr, $zh: expr) => {
if zh {
Expand Down

0 comments on commit 23ced3b

Please sign in to comment.