mirror of
https://github.com/FossifyOrg/Gallery.git
synced 2024-11-26 06:28:00 +01:00
show all files by default in SearchActivity
This commit is contained in:
parent
bfb6b2dfa1
commit
5583fe9f45
1 changed files with 1 additions and 1 deletions
|
@ -112,7 +112,7 @@ class SearchActivity : SimpleActivity(), MediaOperationsListener {
|
|||
private fun setupAdapter() {
|
||||
val currAdapter = search_grid.adapter
|
||||
if (currAdapter == null) {
|
||||
MediaAdapter(this, ArrayList(), this, false, false, "", search_grid) {
|
||||
MediaAdapter(this, mAllMedia, this, false, false, "", search_grid) {
|
||||
if (it is Medium) {
|
||||
itemClicked(it.path)
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue