Skip to content

Commit

Permalink
fixed crashes, got it to work
Browse files Browse the repository at this point in the history
Signed-off-by: rapterjet2004 <[email protected]>
  • Loading branch information
rapterjet2004 committed Nov 15, 2023
1 parent eb13325 commit 08c8aae
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,8 @@ class TranslateActivity : BaseActivity() {

is TranslateViewModel.LanguagesRetrievedState -> {
languages = state.array
getLanguageOptions()
setupSpinners()
}
}
}
Expand All @@ -97,8 +99,6 @@ class TranslateActivity : BaseActivity() {
setupSystemColors()
setupTextViews()
viewModel.getLanguages()
getLanguageOptions()
setupSpinners()
setupCopyButton()

if (savedInstanceState == null) {
Expand All @@ -111,7 +111,7 @@ class TranslateActivity : BaseActivity() {

override fun onResume() {
super.onResume()
setItems()
// setItems() TODO fix me
}
override fun onSaveInstanceState(outState: Bundle) {
outState.run {
Expand Down

0 comments on commit 08c8aae

Please sign in to comment.