Fixes error
This commit is contained in:
parent
4af2e62150
commit
c94884b9d3
@ -31,6 +31,7 @@ interface LocaleProvider {
|
|||||||
class DefaultLocaleProvider @Inject constructor(private val resources: Resources) : LocaleProvider {
|
class DefaultLocaleProvider @Inject constructor(private val resources: Resources) : LocaleProvider {
|
||||||
|
|
||||||
override fun current(): Locale {
|
override fun current(): Locale {
|
||||||
|
""
|
||||||
return ConfigurationCompat.getLocales(resources.configuration).get(0) ?: Locale.getDefault()
|
return ConfigurationCompat.getLocales(resources.configuration).get(0) ?: Locale.getDefault()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user