We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7ff9ed7 commit b77a9a7Copy full SHA for b77a9a7
Sources/ButtonBarPagerTabStripViewController.swift
@@ -258,7 +258,9 @@ open class ButtonBarPagerTabStripViewController: PagerTabStripViewController, Pa
258
return (indexPath.item >= 0 && indexPath.item < buttonBarView.numberOfItems(inSection: indexPath.section)) ? indexPath : nil
259
}
260
261
- buttonBarView.reloadItems(at: indexPathsToReload)
+ if !indexPathsToReload.isEmpty {
262
+ buttonBarView.reloadItems(at: indexPathsToReload)
263
+ }
264
265
266
return cells
0 commit comments