Skip to content

AudioController: Added Grid Layout

This MR introduces a new grid layout for the Audio Tab. The switch is provided in the Sort Action sheet as a header item and the value is saved into UserDefaults. This causes the app to retain the user selected layout on subsequent app launches. Addresses #834 (closed)

It's a work in progress mainly for the following reasons:

  • Relayout issue: When the switch to change the layout is toggled the view doesn't immediately do so. When we move from one page to the other then the new layout is reflected.
  • Album Art Height Issue: The height of the cell is fixed and the album art is allocated 70% of the total height of the cell. This, couple with the content mode set to scaleAspectFill, causes the album art to clip if it's out of proportions.
Edited by Swapnanil Dhol

Merge request reports