Update app/src/main/java/com/owncloud/android/files/FileMenuFilter.java

Co-authored-by: Álvaro Brey <alvaro.brey@nextcloud.com>
Signed-off-by: Felix Nüsse <felix.nuesse@t-online.de>
This commit is contained in:
Felix Nüsse 2022-11-21 13:41:38 +01:00
parent e6c014d832
commit 3e5ac3068c

View file

@ -264,7 +264,7 @@ public class FileMenuFilter {
}
private void filterPinToHome(List<Integer> toHide) {
if (files.size() > 1) {
if (!isSingleSelection()) {
toHide.add(R.id.action_pin_to_homescreen);
}
}