feature/api_timeout_and_settings_cleaning #45

Merged
AmineB merged 8 commits from feature/api_timeout_and_settings_cleaning into master 2022-08-27 12:20:55 +00:00
Showing only changes of commit 0392e1b406 - Show all commits

View File

@ -69,7 +69,7 @@ class AppSettingsService {
fun getUserName(): String {
if (_userName.isEmpty()) {
refrershUsername()
refreshUsername()

This has a typo

This has a typo

Good catch

Good catch
}
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()
}