Skip to content

Commit

Permalink
perf: resolve xcode warning
Browse files Browse the repository at this point in the history
Xcode Autofix
  • Loading branch information
Jerry23011 committed Jan 10, 2024
1 parent 3163dcb commit 8f5e20f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Easydict/Feature/Service/Gemini/GeminiService.swift
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ public final class GeminiService: QueryService {
// TODO: Replace MMOrderedDictionary.
let orderedDict = MMOrderedDictionary<AnyObject, AnyObject>()
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)
}
Expand Down

0 comments on commit 8f5e20f

Please sign in to comment.