forked from github/wulkanowy-mirror
Fix username label on registers other than default (#1050)
This commit is contained in:
parent
3eba89aeb9
commit
315e9b0595
@ -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'
|
||||||
|
|
||||||
|
@ -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)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user