From 0724f8ae2c2ec1de417fc478c300c195a4abded8 Mon Sep 17 00:00:00 2001 From: jaindiv26 Date: Thu, 25 Jul 2019 17:26:59 +0530 Subject: [PATCH] Minor change --- .../org/xwiki/android/sync/activities/SyncSettingsActivity.kt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/app/src/main/java/org/xwiki/android/sync/activities/SyncSettingsActivity.kt b/app/src/main/java/org/xwiki/android/sync/activities/SyncSettingsActivity.kt index 8f95cfdd..cbbee972 100644 --- a/app/src/main/java/org/xwiki/android/sync/activities/SyncSettingsActivity.kt +++ b/app/src/main/java/org/xwiki/android/sync/activities/SyncSettingsActivity.kt @@ -517,6 +517,9 @@ class SyncSettingsActivity : BaseActivity(), GroupsListChangeListener { val newList = mGroupAdapter.selectGroups //old val oldList = userAccount.selectedGroupsList + if (newList.isEmpty() && oldList.isEmpty()) { + return false + } if (newList.size != oldList.size) { return false } else {