2
0
Fork 1
mirror of https://github.com/FossifyOrg/Gallery.git synced 2025-04-22 03:09:48 +02:00

show all files by default in SearchActivity

This commit is contained in:
tibbi 2023-01-10 18:52:27 +01:00
parent bfb6b2dfa1
commit 5583fe9f45

View file

@ -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)
}