Skip to content

Commit

Permalink
Update locale format
Browse files Browse the repository at this point in the history
  • Loading branch information
nalcalag committed Feb 7, 2025
1 parent d488ed3 commit df12cda
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -112,5 +112,5 @@ class LocaleSurveyParameterPlugin @Inject constructor(
) : SurveyParameterPlugin {
override val surveyParamKey: String = "locale"

override suspend fun evaluate(): String = appBuildConfig.deviceLocale.toString()
override suspend fun evaluate(): String = "${appBuildConfig.deviceLocale.language}-${appBuildConfig.deviceLocale.country}"
}

0 comments on commit df12cda

Please sign in to comment.