Skip to content

Commit

Permalink
Fix language changes not updating selected language
Browse files Browse the repository at this point in the history
  • Loading branch information
yasinkacmaz committed Sep 19, 2024
1 parent 3f3d632 commit d07f6e7
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ private fun LanguageRow(
onDismissRequest = { showDropdown = false },
) {
languages.forEach { language ->
val selected = language.iso6391 == selectedLanguage.iso6391
val selected = language == selectedLanguage
DropdownItem(
countryName = language.displayName,
flagUrl = language.flagUrl,
Expand Down

0 comments on commit d07f6e7

Please sign in to comment.