mirror of
https://github.com/Dimillian/IceCubesApp.git
synced 2025-01-12 14:44:14 +01:00
Show the translate-with-DeepL button if necessary (#1248)
Previously, the button was shown if the always use DeepL setting was active. This is redundant. Instead, the button is now shown, if the setting isn't active. Signed-off-by: Paul Schuetz <pa.schuetz@web.de>
This commit is contained in:
parent
ae51ea0c1c
commit
d00b66034d
@ -138,7 +138,7 @@ struct StatusRowContextMenu: View {
|
||||
Label("status.action.translate", systemImage: "captions.bubble")
|
||||
}
|
||||
|
||||
if viewModel.alwaysTranslateWithDeepl {
|
||||
if !viewModel.alwaysTranslateWithDeepl {
|
||||
Button {
|
||||
Task {
|
||||
await viewModel.translateWithDeepL(userLang: lang)
|
||||
|
Loading…
Reference in New Issue
Block a user