Support opening scheduled document files.

This commit is contained in:
Sagar
2025-04-09 18:49:21 +05:30
committed by Michelle Tang
parent acbab9e736
commit af52765821
2 changed files with 2 additions and 2 deletions

View File

@@ -187,7 +187,7 @@ public class DocumentView extends FrameLayout {
@Override
public void onClick(View v) {
if (!slide.isPendingDownload() && !slide.isInProgress() && viewListener != null) {
if (slide.hasDocument() && slide.getUri()!=null && viewListener != null) {
viewListener.onClick(v, slide);
}
}