mirror of
https://github.com/SchildiChat/SchildiChat-android.git
synced 2025-03-18 04:08:44 +03:00
Fixes error
This commit is contained in:
parent
4af2e62150
commit
c94884b9d3
1 changed files with 1 additions and 0 deletions
|
@ -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()
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue