Official-Kodi-Remote-iOS
Official-Kodi-Remote-iOS copied to clipboard
Rework settings grid view and animation when changing tabs
Description
Ensure collectionView
is always initialized in viewDidLoad
, also if the first tab does not support grid view. Otherwise collection view is not initialized for other tabs of the same controller instance. Also ensure the change of the list view's start frame is only altered after the collection view was initialized. Both are relevant for the settings controller view.
In addition this PR simplifies the configuration for settings view's bottom-up start animation. Two variables, one key and one condition could be removed.
Last change is to ensure the start animation when changing tabs is always same, regardless of the gird/list mode of the former and new tab chosen.
Summary for release notes
Bugfix: Grid view not working for settings menu Improvement: Consistent animation when changing tab