Skip to content

Commit

Permalink
fix: compile error
Browse files Browse the repository at this point in the history
  • Loading branch information
tisfeng committed Nov 19, 2024
1 parent a2d7b59 commit 3cbfa2b
Showing 1 changed file with 8 additions and 9 deletions.
17 changes: 8 additions & 9 deletions Easydict/App/EasydictApp.swift
Original file line number Diff line number Diff line change
Expand Up @@ -78,16 +78,15 @@ struct EasydictApp: App {
}
}

Settings {
SettingView().environmentObject(languageState).environment(
\.locale,
.init(identifier: I18nHelper.shared.localizeCode)
)
}
Settings {
SettingView().environmentObject(languageState).environment(
\.locale,
.init(identifier: I18nHelper.shared.localizeCode)
)
}

Window("Query", id: "query") {
QueryView()
}
Window("Query", id: "query") {
QueryView()
}
}

Expand Down

0 comments on commit 3cbfa2b

Please sign in to comment.