mirror of
https://github.com/nextcloud/android.git
synced 2024-11-22 21:25:35 +03:00
check file existence before
Signed-off-by: alperozturk <alper_ozturk@proton.me>
This commit is contained in:
parent
aec0838977
commit
2ec0f2950a
1 changed files with 3 additions and 1 deletions
|
@ -212,7 +212,9 @@ public class OCFileListBottomSheetDialog extends BottomSheetDialog implements In
|
|||
}
|
||||
|
||||
private void filterActionsForOfflineOperations() {
|
||||
if (file == null || !file.isOfflineOperation() || file.isRootDirectory()) {
|
||||
if (file == null) return;
|
||||
|
||||
if (!file.isOfflineOperation() || file.isRootDirectory()) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue