mirror of
https://github.com/signalapp/Signal-Android.git
synced 2026-04-24 02:39:55 +01:00
Support opening scheduled document files.
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user