mirror of
https://github.com/SchildiChat/SchildiChat-android.git
synced 2024-11-26 19:36:08 +03:00
Remove cancel button, useless.
This commit is contained in:
parent
da66e38c68
commit
855efa93cc
2 changed files with 0 additions and 13 deletions
|
@ -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(),
|
||||
|
|
|
@ -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>
|
||||
|
|
Loading…
Reference in a new issue