1
0

Fix username label on registers other than default (#1050)

This commit is contained in:
Mikołaj Pich
2020-12-16 20:48:01 +01:00
committed by GitHub
parent 3eba89aeb9
commit 315e9b0595
2 changed files with 2 additions and 2 deletions

View File

@ -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)
}
}