Fixes error
This commit is contained in:
parent
c94884b9d3
commit
618cf7ac0e
|
@ -31,7 +31,6 @@ 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