mirror of
https://github.com/nextcloud/android.git
synced 2024-11-26 23:28:42 +03:00
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:
parent
e6c014d832
commit
3e5ac3068c
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue