Skip to content

Commit 3f9cf2a

Browse files
Merge pull request nextcloud#15871 from nextcloud/backport/15863/stable-3.34
[stable-3.34] Gallery Bottom Sheet can be shown during search
2 parents b0824a9 + 55cb110 commit 3f9cf2a

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

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

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -301,10 +301,8 @@ public void onCreateOptionsMenu(Menu menu, @NonNull MenuInflater inflater) {
301301

302302
@Override
303303
public boolean onOptionsItemSelected(MenuItem item) {
304-
305304
// Handle item selection
306-
if (item.getItemId() == R.id.action_three_dot_icon && !this.isPhotoSearchQueryRunning()
307-
&& galleryFragmentBottomSheetDialog != null) {
305+
if (item.getItemId() == R.id.action_three_dot_icon && galleryFragmentBottomSheetDialog != null) {
308306
showBottomSheet();
309307
return true;
310308
}

0 commit comments

Comments
 (0)