forked from github/wulkanowy-mirror
Fix username label on registers other than default (#1050)
This commit is contained in:
@ -57,7 +57,7 @@ class LoginFormPresenter @Inject constructor(
|
||||
|
||||
fun updateUsernameLabel() {
|
||||
view?.run {
|
||||
setUsernameLabel(if ("login" in formHostValue) nicknameLabel else emailLabel)
|
||||
setUsernameLabel(if ("email" !in formHostValue) nicknameLabel else emailLabel)
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user