From 3cbfa2bd0f84d25a070fd56f9ea3e713b89a3836 Mon Sep 17 00:00:00 2001 From: tisfeng Date: Wed, 20 Nov 2024 00:08:29 +0800 Subject: [PATCH] fix: compile error --- Easydict/App/EasydictApp.swift | 17 ++++++++--------- 1 file changed, 8 insertions(+), 9 deletions(-) diff --git a/Easydict/App/EasydictApp.swift b/Easydict/App/EasydictApp.swift index f188e40fb..cecf3f4e6 100644 --- a/Easydict/App/EasydictApp.swift +++ b/Easydict/App/EasydictApp.swift @@ -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() } }