From 4a02c4e47e2a63ead00bc02200f8b358e7e9e9d9 Mon Sep 17 00:00:00 2001 From: Agnieszka C <85929121+Aga-C@users.noreply.github.com> Date: Thu, 14 Oct 2021 18:56:03 +0200 Subject: [PATCH] Fixed group count while changing name (#589) --- .../simplemobiletools/contacts/pro/dialogs/RenameGroupDialog.kt | 1 + 1 file changed, 1 insertion(+) diff --git a/app/src/main/kotlin/com/simplemobiletools/contacts/pro/dialogs/RenameGroupDialog.kt b/app/src/main/kotlin/com/simplemobiletools/contacts/pro/dialogs/RenameGroupDialog.kt index 2f81ec1c..6ba6e361 100644 --- a/app/src/main/kotlin/com/simplemobiletools/contacts/pro/dialogs/RenameGroupDialog.kt +++ b/app/src/main/kotlin/com/simplemobiletools/contacts/pro/dialogs/RenameGroupDialog.kt @@ -36,6 +36,7 @@ class RenameGroupDialog(val activity: BaseSimpleActivity, val group: Group, val } group.title = newTitle + group.contactsCount = 0 ensureBackgroundThread { if (group.isPrivateSecretGroup()) { activity.groupsDB.insertOrUpdate(group)