feature/api_timeout_and_settings_cleaning #45
@ -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()
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user
This has a typo
Good catch