Skip to content

Search While Delete: Pass searchDataSource to EditController in initialization.

Avi Wadhwa requested to merge aviwad/vlc-ios:deleteInSearch into master

Still a work in progress because of a lot of UI glitches. Fixes #675 (closed)

A screen recording of it in action:

Screen_Recording_2023-06-21_at_9.26.45_PM

Changes:

  1. new computed variable "currentDataSet" in both MediaCategoryViewController and EditController that returns either searchDataSource.searchData or model.anyfiles
  2. searchDataSource reference from MediaCategoryViewController is passed to EditController
  3. isSearching bool now in LibrarySearchDataSource so that both view controllers maintain the same isSearching bool
  4. searchBar alpha and userInteraction is changed on editControllerDidSelectMultipleItem and editControllerDidDeSelectMultipleItem
Edited by Avi Wadhwa

Merge request reports

Loading