-
Notifications
You must be signed in to change notification settings - Fork 382
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
translation service api key config #379
Conversation
.../Utility/Extensions/QueryService+ConfigurableService/OpenAIService+ConfigurableService.swift
Outdated
Show resolved
Hide resolved
Yes, the value in UserDefaults is an empty string, which will cause this warning. |
I'm not quite familiar with concurrency as well. But usually I fix those warning with replace all codes that influence UI with |
...Utility/Extensions/QueryService+ConfigurableService/DeepLTranslate+ConfigurableService.swift
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good.
Please continue to review. |
Good job! |
Thank you guys. 🙌 |
|
||
extension OpenAIModels: EnumLocalizedStringConvertible { | ||
var title: String { | ||
rawValue |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This code looks a bit redundant, I don't see where it's being used.
#342