Fixes error

This commit is contained in:
ericdecanini 2022-10-09 14:55:25 -04:00
parent 4af2e62150
commit c94884b9d3

View file

@ -31,6 +31,7 @@ interface LocaleProvider {
class DefaultLocaleProvider @Inject constructor(private val resources: Resources) : LocaleProvider {
override fun current(): Locale {
""
return ConfigurationCompat.getLocales(resources.configuration).get(0) ?: Locale.getDefault()
}
}