From c91c035b505def3db71ecc9270b83d35c5c400f7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ensar=20Saraj=C4=8Di=C4=87?= Date: Thu, 31 Aug 2023 08:55:50 +0200 Subject: [PATCH] Fix wrong reference when inflating groups in EditContactActivity This closes #1023 --- .../contacts/pro/activities/EditContactActivity.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/kotlin/com/simplemobiletools/contacts/pro/activities/EditContactActivity.kt b/app/src/main/kotlin/com/simplemobiletools/contacts/pro/activities/EditContactActivity.kt index 59ff66e7..c786a829 100644 --- a/app/src/main/kotlin/com/simplemobiletools/contacts/pro/activities/EditContactActivity.kt +++ b/app/src/main/kotlin/com/simplemobiletools/contacts/pro/activities/EditContactActivity.kt @@ -776,7 +776,7 @@ class EditContactActivity : ContactActivity() { setTextColor(getProperTextColor()) } - contactGroupHolder.addView(root) + binding.contactGroupsHolder.addView(root) contactGroupRemove.beGone() root.setOnClickListener { showSelectGroupsDialog()