Show lightbox controls based on presence of handlers

This commit is contained in:
Daniel Gasienica 2018-04-24 16:12:07 -04:00
parent 59650035ec
commit 96be0df8c7
3 changed files with 8 additions and 19 deletions

View file

@ -589,7 +589,6 @@
documents: [],
onItemClick: ({message}) => {
const lightboxProps = {
shouldShowSaveAsButton: false,
imageURL: message.objectURL,
};
this.lightboxView = new Whisper.ReactWrapperView({