Skip to content

Commit d9d115d

Browse files
committed
add search event check to activate search fragment
Signed-off-by: alperozturk96 <alper_ozturk@proton.me>
1 parent aad96b8 commit d9d115d

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)