Skip to content

Commit 7e36db3

Browse files
Merge pull request #17471 from nextcloud/fix/navigation-to-root-from-search-fragment
fix(navigation): search fragment to root
2 parents 6fd946d + d9d115d commit 7e36db3

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

app/src/main/java/com/owncloud/android/ui/fragment/OCFileListFragment.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1054,7 +1054,7 @@ public int onBrowseUp() {
10541054
mFile = target;
10551055
setFileDepth(mFile);
10561056

1057-
if (mFile.isRootDirectory() && currentSearchType != NO_SEARCH) {
1057+
if (mFile.isRootDirectory() && currentSearchType != NO_SEARCH && isSearchEventSet(searchEvent)) {
10581058
searchFragment = true;
10591059
}
10601060

0 commit comments

Comments
 (0)