From 8f5e20f0622e919109c8e4bafb36d4e1745e1393 Mon Sep 17 00:00:00 2001 From: Jerry <89069957+Jerry23011@users.noreply.github.com> Date: Tue, 9 Jan 2024 18:00:46 -0800 Subject: [PATCH] perf: resolve xcode warning Xcode Autofix --- Easydict/Feature/Service/Gemini/GeminiService.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Easydict/Feature/Service/Gemini/GeminiService.swift b/Easydict/Feature/Service/Gemini/GeminiService.swift index 2c510b4fc..536834f0b 100644 --- a/Easydict/Feature/Service/Gemini/GeminiService.swift +++ b/Easydict/Feature/Service/Gemini/GeminiService.swift @@ -30,7 +30,7 @@ public final class GeminiService: QueryService { // TODO: Replace MMOrderedDictionary. let orderedDict = MMOrderedDictionary() for language in EZLanguageManager.shared().allLanguages { - var value = language.rawValue + let value = language.rawValue if !GeminiService.unsupportedLanguages.contains(language) { orderedDict.setObject(value as NSString, forKey: language.rawValue as NSString) }