mirror of
https://github.com/nextcloud/talk-android
synced 2025-02-02 20:53:09 +00:00
improve code formatting
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
This commit is contained in:
parent
7f33b7fdfd
commit
f9e1b40a0d
@ -75,8 +75,7 @@ class TranslateActivity : BaseActivity() {
|
||||
setupSpinners()
|
||||
getLanguageOptions()
|
||||
|
||||
if(savedInstanceState == null)
|
||||
{
|
||||
if (savedInstanceState == null) {
|
||||
translate(null, Locale.getDefault().language)
|
||||
} else {
|
||||
binding.translatedMessageTextview.text = savedInstanceState.getString(BundleKeys.SAVED_TRANSLATED_MESSAGE)
|
||||
@ -245,8 +244,6 @@ class TranslateActivity : BaseActivity() {
|
||||
val fromLabel: String = getISOFromLanguage(binding.fromLanguage.text.toString())
|
||||
translate(fromLabel, toLabel)
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
private fun fillSpinners() {
|
||||
|
Loading…
Reference in New Issue
Block a user