fix translations not working correctly

This commit is contained in:
Phillip Thelen 2023-02-01 12:13:43 +01:00
parent e0269a0b46
commit 8a756594c6

View file

@ -325,7 +325,7 @@ class ApiClientImpl(
override suspend fun getStatus(): Status? = process { apiService.getStatus() }
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? {