Fixed misleading method name

This commit is contained in:
Sylvain Berfini 2025-10-15 09:58:55 +02:00
parent d9ab840570
commit d75c48cd34
3 changed files with 3 additions and 3 deletions

View file

@ -308,7 +308,7 @@ class AccountCreationViewModel
}
@UiThread
fun phoneNumberConfirmedByUser() {
fun askUserToConfirmPhoneNumber() {
coreContext.postOnCoreThread {
if (::accountManagerServices.isInitialized) {
val dialPlan = selectedDialPlan.value

View file

@ -351,7 +351,7 @@
app:layout_constraintBottom_toBottomOf="@id/password" />
<androidx.appcompat.widget.AppCompatTextView
android:onClick="@{() -> viewModel.phoneNumberConfirmedByUser()}"
android:onClick="@{() -> viewModel.askUserToConfirmPhoneNumber()}"
android:enabled="@{viewModel.createEnabled &amp;&amp; !viewModel.operationInProgress, default=false}"
style="@style/primary_button_label_style"
android:id="@+id/create"

View file

@ -303,7 +303,7 @@
app:layout_constraintBottom_toBottomOf="@id/password" />
<androidx.appcompat.widget.AppCompatTextView
android:onClick="@{() -> viewModel.phoneNumberConfirmedByUser()}"
android:onClick="@{() -> viewModel.askUserToConfirmPhoneNumber()}"
android:enabled="@{viewModel.createEnabled &amp;&amp; !viewModel.operationInProgress, default=false}"
style="@style/primary_button_label_style"
android:id="@+id/create"