File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed
app/src/main/java/com/owncloud/android/ui/activity Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -650,6 +650,7 @@ class FileDisplayActivity :
650650 }
651651 }
652652
653+ listOfFilesFragment?.isSearchFragment = true
653654 listOfFilesFragment?.setCurrentSearchType(searchEvent)
654655 }
655656 // endregion
@@ -1327,6 +1328,9 @@ class FileDisplayActivity :
13271328
13281329 super .onResume()
13291330
1331+ if (ocFileListFragment is SharedListFragment || ocFileListFragment?.isSearchFragment == true ) {
1332+ ocFileListFragment?.setSearchArgs(ocFileListFragment?.arguments)
1333+ }
13301334 highlightNavigationViewItem(menuItemId)
13311335
13321336 if (SettingsActivity .isBackPressed) {
@@ -1357,7 +1361,7 @@ class FileDisplayActivity :
13571361 file = it
13581362 }
13591363
1360- ocFileListFragment.setSearchArgs(ocFileListFragment.arguments)
1364+
13611365
13621366 // refresh list of files
13631367 if (searchView != null && ! TextUtils .isEmpty(searchQuery)) {
You can’t perform that action at this time.
0 commit comments