diff --git a/app/src/main/java/com/owncloud/android/ui/activity/SyncedFoldersActivity.kt b/app/src/main/java/com/owncloud/android/ui/activity/SyncedFoldersActivity.kt
index 3c09f50f43..dab7eca7be 100644
--- a/app/src/main/java/com/owncloud/android/ui/activity/SyncedFoldersActivity.kt
+++ b/app/src/main/java/com/owncloud/android/ui/activity/SyncedFoldersActivity.kt
@@ -672,8 +672,7 @@ class SyncedFoldersActivity :
)
saveOrUpdateSyncedFolder(item)
- // TODO test if notifyItemChanged is sufficient (should improve performance)
- adapter.notifyDataSetChanged()
+ adapter.notifyItemChanged(adapter.getSectionHeaderIndex(syncedFolder.section))
}
syncedFolderPreferencesDialogFragment = null
if (syncedFolder.isEnabled) {
diff --git a/scripts/analysis/lint-results.txt b/scripts/analysis/lint-results.txt
index f7531aa09b..bf24c5db3f 100644
--- a/scripts/analysis/lint-results.txt
+++ b/scripts/analysis/lint-results.txt
@@ -1,2 +1,2 @@
DO NOT TOUCH; GENERATED BY DRONE
- Lint Report: 86 warnings
+ Lint Report: 85 warnings