diff --git a/app/src/main/java/com/bnyro/translate/ui/screens/TranslationPage.kt b/app/src/main/java/com/bnyro/translate/ui/screens/TranslationPage.kt index eeb76f8a5..e5d15bdf3 100644 --- a/app/src/main/java/com/bnyro/translate/ui/screens/TranslationPage.kt +++ b/app/src/main/java/com/bnyro/translate/ui/screens/TranslationPage.kt @@ -154,6 +154,7 @@ fun TranslationPage( val temp = viewModel.sourceLanguage viewModel.sourceLanguage = viewModel.targetLanguage viewModel.targetLanguage = temp + viewModel.insertedText = viewModel.translation.translatedText viewModel.translateNow() } ) {