Typo fix.
This commit is contained in:
parent
8b2be5c55c
commit
0392e1b406
@ -69,7 +69,7 @@ class AppSettingsService {
|
|||||||
|
|
||||||
fun getUserName(): String {
|
fun getUserName(): String {
|
||||||
if (_userName.isEmpty()) {
|
if (_userName.isEmpty()) {
|
||||||
refrershUsername()
|
refreshUsername()
|
||||||
}
|
}
|
||||||
return _userName
|
return _userName
|
||||||
}
|
}
|
||||||
@ -108,7 +108,7 @@ class AppSettingsService {
|
|||||||
_baseUrl = settings.getString("url", "")
|
_baseUrl = settings.getString("url", "")
|
||||||
}
|
}
|
||||||
|
|
||||||
private fun refrershUsername() {
|
private fun refreshUsername() {
|
||||||
_userName = settings.getString("login", "")
|
_userName = settings.getString("login", "")
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -344,7 +344,7 @@ class AppSettingsService {
|
|||||||
|
|
||||||
fun refreshApiSettings() {
|
fun refreshApiSettings() {
|
||||||
refreshPassword()
|
refreshPassword()
|
||||||
refrershUsername()
|
refreshUsername()
|
||||||
refreshBaseUrl()
|
refreshBaseUrl()
|
||||||
refreshApiVersion()
|
refreshApiVersion()
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user