diff --git a/app/src/main/java/org/linphone/ui/main/settings/model/AccountDeviceModel.kt b/app/src/main/java/org/linphone/ui/main/settings/model/AccountDeviceModel.kt index 0a173f5ca..b931afaca 100644 --- a/app/src/main/java/org/linphone/ui/main/settings/model/AccountDeviceModel.kt +++ b/app/src/main/java/org/linphone/ui/main/settings/model/AccountDeviceModel.kt @@ -26,4 +26,9 @@ class AccountDeviceModel @WorkerThread constructor( val lastConnectionDate: String, val lastConnectionTime: String, private val onRemove: () -> (Unit) -) +) { + + fun removeDevice() { + onRemove() + } +} diff --git a/app/src/main/res/layout/account_profile_device_list_cell.xml b/app/src/main/res/layout/account_profile_device_list_cell.xml index 54707827c..ebefb6c69 100644 --- a/app/src/main/res/layout/account_profile_device_list_cell.xml +++ b/app/src/main/res/layout/account_profile_device_list_cell.xml @@ -24,6 +24,7 @@ android:layout_height="wrap_content" android:layout_marginStart="23dp" android:layout_marginTop="34dp" + android:layout_marginEnd="5dp" android:text="@{model.name, default=`Pixel 6 Pro`}" android:maxLines="1" android:ellipsize="end" @@ -34,6 +35,7 @@