diff --git a/app/views/AttachmentView.js b/app/views/AttachmentView.js index e86292f9e..f00a69dc5 100644 --- a/app/views/AttachmentView.js +++ b/app/views/AttachmentView.js @@ -34,11 +34,11 @@ class AttachmentView extends React.Component { const { title } = attachment; const options = { title: decodeURI(title), - headerRight: + headerRight: () => }; if (from !== 'MessagesView') { options.gesturesEnabled = false; - options.headerLeft = ; + options.headerLeft = () => ; } return options; }