diff --git a/vector/src/main/java/im/vector/riotx/features/login/LoginServerSelectionFragment.kt b/vector/src/main/java/im/vector/riotx/features/login/LoginServerSelectionFragment.kt
index 5eef820e39..c533913718 100644
--- a/vector/src/main/java/im/vector/riotx/features/login/LoginServerSelectionFragment.kt
+++ b/vector/src/main/java/im/vector/riotx/features/login/LoginServerSelectionFragment.kt
@@ -43,13 +43,13 @@ class LoginServerSelectionFragment @Inject constructor() : AbstractLoginFragment
}
private fun initTextViews() {
- loginServerChoiceEMSLearnMore.text = span {
+ loginServerChoiceEmsLearnMore.text = span {
text = getString(R.string.login_server_modular_learn_more)
textDecorationLine = "underline"
}
}
- @OnClick(R.id.loginServerChoiceEMSLearnMore)
+ @OnClick(R.id.loginServerChoiceEmsLearnMore)
fun learnMore() {
openUrlInChromeCustomTab(requireActivity(), null, EMS_LINK)
}
@@ -59,7 +59,7 @@ class LoginServerSelectionFragment @Inject constructor() : AbstractLoginFragment
loginViewModel.handle(LoginAction.UpdateServerType(ServerType.MatrixOrg))
}
- @OnClick(R.id.loginServerChoiceEMS)
+ @OnClick(R.id.loginServerChoiceEms)
fun selectEMS() {
loginViewModel.handle(LoginAction.UpdateServerType(ServerType.EMS))
}
diff --git a/vector/src/main/res/layout/fragment_login_server_selection.xml b/vector/src/main/res/layout/fragment_login_server_selection.xml
index b33174bae3..73c9c33c06 100644
--- a/vector/src/main/res/layout/fragment_login_server_selection.xml
+++ b/vector/src/main/res/layout/fragment_login_server_selection.xml
@@ -81,7 +81,7 @@
+ app:layout_constraintTop_toBottomOf="@+id/loginServerChoiceEmsIcon" />
+ app:layout_constraintTop_toTopOf="@+id/loginServerChoiceEmsText" />
@@ -145,7 +145,7 @@
android:paddingEnd="@dimen/layout_horizontal_margin"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
- app:layout_constraintTop_toBottomOf="@+id/loginServerChoiceEMS">
+ app:layout_constraintTop_toBottomOf="@+id/loginServerChoiceEms">