mirror of
https://github.com/nextcloud/android.git
synced 2024-11-28 18:28:59 +03:00
file not found
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
This commit is contained in:
parent
9a97e436d8
commit
de5bec442a
1 changed files with 1 additions and 1 deletions
|
@ -1545,7 +1545,7 @@ public class FileDisplayActivity extends HookActivity
|
|||
if (mWaitingToPreview != null && getStorageManager() != null) {
|
||||
// update the file
|
||||
mWaitingToPreview = getStorageManager().getFileById(mWaitingToPreview.getFileId());
|
||||
if (!mWaitingToPreview.isDown()) {
|
||||
if (mWaitingToPreview != null && !mWaitingToPreview.isDown()) {
|
||||
requestForDownload();
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue