Hide ‘Save As…’ button in media gallery
Wait until we support it.
This commit is contained in:
parent
a7ed21a811
commit
b4a4182613
1 changed files with 1 additions and 0 deletions
|
@ -597,6 +597,7 @@
|
||||||
documents: [],
|
documents: [],
|
||||||
onItemClick: ({message}) => {
|
onItemClick: ({message}) => {
|
||||||
const lightboxProps = {
|
const lightboxProps = {
|
||||||
|
shouldShowSaveAsButton: false,
|
||||||
imageURL: message.objectURL,
|
imageURL: message.objectURL,
|
||||||
};
|
};
|
||||||
this.lightboxView = new Whisper.ReactWrapperView({
|
this.lightboxView = new Whisper.ReactWrapperView({
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue