diff --git a/app/src/main/java/org/oppia/android/app/options/OptionControlsViewModel.kt b/app/src/main/java/org/oppia/android/app/options/OptionControlsViewModel.kt index 1811fb2d896..9a339392f6c 100644 --- a/app/src/main/java/org/oppia/android/app/options/OptionControlsViewModel.kt +++ b/app/src/main/java/org/oppia/android/app/options/OptionControlsViewModel.kt @@ -111,7 +111,8 @@ class OptionControlsViewModel @Inject constructor( private fun createAppLanguageViewModel(language: OppiaLanguage): OptionsAppLanguageViewModel? { return OptionsAppLanguageViewModel( routeToAppLanguageListListener, - loadAppLanguageListListener, language, + loadAppLanguageListListener, + language, resourceHandler.computeLocalizedDisplayName(language) ) }