diff --git a/apps/documenteditor/mobile/src/view/settings/SettingsPage.jsx b/apps/documenteditor/mobile/src/view/settings/SettingsPage.jsx index 95db9f7aec..2fb180ad72 100644 --- a/apps/documenteditor/mobile/src/view/settings/SettingsPage.jsx +++ b/apps/documenteditor/mobile/src/view/settings/SettingsPage.jsx @@ -19,6 +19,7 @@ const SettingsPage = inject("storeAppOptions", "storeReview", "storeDocumentInfo const docTitle = docInfo.dataDoc.title; const docExt = docInfo.dataDoc ? docInfo.dataDoc.fileType : ''; const isNotForm = docExt && docExt !== 'oform'; + const isHistoryDisabled = docExt && (docExt === 'xps' || docExt === 'djvu' || docExt === 'pdf'); const navbar =
{docTitle}
@@ -76,13 +77,15 @@ const SettingsPage = inject("storeAppOptions", "storeReview", "storeDocumentInfo } - { - if(Device.phone) { - onOpenOptions('history'); - } - }}> - - + {!isHistoryDisabled && + { + if(Device.phone) { + onOpenOptions('history'); + } + }}> + + + } { if(Device.phone) { onOpenOptions('navigation');