mirror of
https://gitlab.linphone.org/BC/public/linphone-android.git
synced 2026-01-17 11:28:06 +00:00
Added missing cross to close number/address picker dialog
This commit is contained in:
parent
d693cfe58d
commit
cab66e844b
2 changed files with 5 additions and 0 deletions
|
|
@ -229,6 +229,7 @@ class ContactsListFragment : AbstractTopBarFragment() {
|
|||
},
|
||||
{ // onDelete
|
||||
coreContext.postOnCoreThread {
|
||||
// TODO: confirmation dialog + confirmation toast once deleted
|
||||
Log.w("$TAG Removing friend [${model.name.value}]")
|
||||
coreContext.contactsManager.contactRemoved(model.friend)
|
||||
model.friend.remove()
|
||||
|
|
|
|||
|
|
@ -33,11 +33,15 @@
|
|||
<androidx.appcompat.widget.AppCompatTextView
|
||||
style="@style/section_header_style"
|
||||
android:id="@+id/title"
|
||||
android:onClick="@{() -> viewModel.dismiss()}"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginStart="15dp"
|
||||
android:layout_marginEnd="15dp"
|
||||
android:paddingTop="@dimen/dialog_top_bottom_margin"
|
||||
android:text="@string/contact_dialog_pick_phone_number_or_sip_address_title"
|
||||
android:drawableEnd="@drawable/x"
|
||||
android:drawableTint="?attr/color_main2_600"
|
||||
app:layout_constraintVertical_chainStyle="packed"
|
||||
app:layout_constraintBottom_toTopOf="@id/numbers_and_addresses"
|
||||
app:layout_constraintStart_toStartOf="@id/dialog_background"
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue