Merge pull request #1 from scoreyou/fix/reloadLayout

IndexPaths duplication on reload fixed
This commit is contained in:
Alexey Gerasimov 2017-12-06 17:19:21 +03:00 committed by GitHub
commit 9bf01d7d0e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -267,7 +267,7 @@ open class ButtonBarPagerTabStripViewController: PagerTabStripViewController, Pa
}
if !indexPathsToReload.isEmpty {
buttonBarView.reloadItems(at: indexPathsToReload)
buttonBarView.reloadItems(at: Array(Set(indexPathsToReload)))
}
}