Fixes occasional crash when importing several games
This commit is contained in:
parent
746ed9638b
commit
d3b7767374
@ -251,6 +251,11 @@ private extension GamesViewController
|
|||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if self.pageViewController.viewControllers?.count == 0
|
||||||
|
{
|
||||||
|
resetPageViewController = true
|
||||||
|
}
|
||||||
|
|
||||||
self.navigationController?.setToolbarHidden(sections < 2, animated: animated)
|
self.navigationController?.setToolbarHidden(sections < 2, animated: animated)
|
||||||
|
|
||||||
if sections > 0
|
if sections > 0
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user