Fixed firstName / lastName mixup

This commit is contained in:
Sylvain Berfini 2023-10-03 12:18:30 +02:00
parent 3c0640ce11
commit 1445760cc0
2 changed files with 3 additions and 2 deletions

View file

@ -67,6 +67,7 @@ class EndedCallFragment : GenericCallFragment() {
Log.i("$TAG Showing ended call fragment")
callViewModel.callDuration.observe(viewLifecycleOwner) { duration ->
// TODO FIXME: doesn't work
binding.chronometer.base = SystemClock.elapsedRealtime() - (1000 * duration)
// Do not start it!
}

View file

@ -143,8 +143,8 @@ class ContactNewOrEditViewModel @UiThread constructor() : ViewModel() {
val vCard = friend.vcard
if (vCard != null) {
vCard.familyName = fn
vCard.givenName = ln
vCard.givenName = fn
vCard.familyName = ln
val picture = picturePath.value.orEmpty()
if (picture.isNotEmpty()) {