Remove cancel button, useless.

This commit is contained in:
Benoit Marty 2020-04-22 17:29:34 +02:00
parent da66e38c68
commit 855efa93cc
2 changed files with 0 additions and 13 deletions

View file

@ -80,10 +80,6 @@ class DeactivateAccountFragment @Inject constructor(
viewModel.handle(DeactivateAccountAction.TogglePassword)
}
deactivateAccountCancel.setOnClickListener {
(activity as? VectorBaseActivity)?.onBackPressed()
}
deactivateAccountSubmit.setOnClickListener {
viewModel.handle(DeactivateAccountAction.DeactivateAccount(
deactivateAccountPassword.text.toString(),

View file

@ -102,15 +102,6 @@
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintTop_toBottomOf="@+id/deactivateAccountPasswordContainer" />
<Button
android:id="@+id/deactivateAccountCancel"
style="@style/VectorButtonStyle"
android:layout_marginEnd="16dp"
android:layout_marginRight="16dp"
android:text="@string/cancel"
app:layout_constraintEnd_toStartOf="@+id/deactivateAccountSubmit"
app:layout_constraintTop_toTopOf="@+id/deactivateAccountSubmit" />
</androidx.constraintlayout.widget.ConstraintLayout>
</androidx.core.widget.NestedScrollView>