Fixes occasional crash when importing several games

This commit is contained in:
Riley Testut 2018-11-13 16:14:52 -08:00
parent 746ed9638b
commit d3b7767374

View File

@ -251,6 +251,11 @@ private extension GamesViewController
}
if self.pageViewController.viewControllers?.count == 0
{
resetPageViewController = true
}
self.navigationController?.setToolbarHidden(sections < 2, animated: animated)
if sections > 0