Skip to content

Commit d1c2bea

Browse files
committed
fix: hide three-dot menu in folder picker mode
1 parent a49556a commit d1c2bea

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • owncloudApp/src/main/java/com/owncloud/android/presentation/files/filelist

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)