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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -142,7 +142,7 @@ configurations.all {
} }
dependencies { dependencies {
implementation "io.github.wulkanowy:sdk:0.23.0" implementation "io.github.wulkanowy:sdk:41b164fe"
coreLibraryDesugaring 'com.android.tools:desugar_jdk_libs:1.1.1' coreLibraryDesugaring 'com.android.tools:desugar_jdk_libs:1.1.1'

View File

@ -57,7 +57,7 @@ class LoginFormPresenter @Inject constructor(
fun updateUsernameLabel() { fun updateUsernameLabel() {
view?.run { view?.run {
setUsernameLabel(if ("login" in formHostValue) nicknameLabel else emailLabel) setUsernameLabel(if ("email" !in formHostValue) nicknameLabel else emailLabel)
} }
} }