Skip to content

Commit 6c24b47

Browse files
committed
fix: hide three-dot menu in folder picker mode
1 parent 2b54423 commit 6c24b47

File tree

1 file changed

+1
-1
lines changed
  • owncloudApp/src/main/java/com/owncloud/android/presentation/files/filelist

1 file changed

+1
-1
lines changed

owncloudApp/src/main/java/com/owncloud/android/presentation/files/filelist/FileListAdapter.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -288,7 +288,7 @@ class FileListAdapter(
288288
params -> params.marginStart = if (isFolderInKw) 0 else
289289
context.resources.getDimensionPixelSize(R.dimen.standard_quarter_margin) }
290290
it.fileListLastMod.text = DisplayUtils.getRelativeTimestamp(context, file.modificationTimestamp)
291-
it.threeDotMenu.isVisible = getCheckedItems().isEmpty()
291+
it.threeDotMenu.isVisible = !isPickerMode && getCheckedItems().isEmpty()
292292
it.threeDotMenu.contentDescription = context.getString(R.string.content_description_file_operations, file.fileName)
293293
if (fileListOption.isAvailableOffline() || (fileListOption.isSharedByLink() && fileWithSyncInfo.space == null)) {
294294
it.spacePathLine.path.apply {

0 commit comments

Comments
 (0)