mirror of
https://github.com/sudoxnym/habitica-android.git
synced 2026-07-13 17:51:57 +00:00
fix translations not working correctly
This commit is contained in:
parent
e0269a0b46
commit
8a756594c6
1 changed files with 1 additions and 1 deletions
|
|
@ -325,7 +325,7 @@ class ApiClientImpl(
|
||||||
override suspend fun getStatus(): Status? = process { apiService.getStatus() }
|
override suspend fun getStatus(): Status? = process { apiService.getStatus() }
|
||||||
|
|
||||||
override suspend fun getContent(language: String?): ContentResult? {
|
override suspend fun getContent(language: String?): ContentResult? {
|
||||||
return process { apiService.getContent(language) }
|
return process { apiService.getContent(language ?: this.languageCode) }
|
||||||
}
|
}
|
||||||
|
|
||||||
override suspend fun updateUser(updateDictionary: Map<String, Any>): User? {
|
override suspend fun updateUser(updateDictionary: Map<String, Any>): User? {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue