Skip to content

Commit

Permalink
LanguageTools: language code in data is never null.
Browse files Browse the repository at this point in the history
  • Loading branch information
UweTrottmann committed Nov 17, 2023
1 parent 7993945 commit 5c6860e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ object LanguageTools {
return null
}

data class LanguageData(val languageCode: String?, val languageString: String)
data class LanguageData(val languageCode: String, val languageString: String)

/**
* Based on the first two letters gets the language display name. Except for
Expand Down

0 comments on commit 5c6860e

Please sign in to comment.