Typo fix.

This commit is contained in:
aminecmi 2022-08-27 13:00:19 +02:00
parent 8b2be5c55c
commit 0392e1b406

View File

@ -69,7 +69,7 @@ class AppSettingsService {
fun getUserName(): String {
if (_userName.isEmpty()) {
refrershUsername()
refreshUsername()
}
return _userName
}
@ -108,7 +108,7 @@ class AppSettingsService {
_baseUrl = settings.getString("url", "")
}
private fun refrershUsername() {
private fun refreshUsername() {
_userName = settings.getString("login", "")
}
@ -344,7 +344,7 @@ class AppSettingsService {
fun refreshApiSettings() {
refreshPassword()
refrershUsername()
refreshUsername()
refreshBaseUrl()
refreshApiVersion()
}