From 550c2cbcd228a85901eddbc4ce29300a1ad79224 Mon Sep 17 00:00:00 2001 From: SergeyEzhin Date: Tue, 23 Aug 2022 15:31:59 +0300 Subject: [PATCH 1/2] [DE mobile] Fix Bug 58659 --- apps/documenteditor/mobile/src/less/icons-ios.less | 4 ++-- apps/documenteditor/mobile/src/less/icons-material.less | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/apps/documenteditor/mobile/src/less/icons-ios.less b/apps/documenteditor/mobile/src/less/icons-ios.less index b54e9eba1..b587c8994 100644 --- a/apps/documenteditor/mobile/src/less/icons-ios.less +++ b/apps/documenteditor/mobile/src/less/icons-ios.less @@ -454,12 +454,12 @@ &.icon-mobile-view { width: 24px; height: 24px; - .encoded-svg-mask('') + .encoded-svg-mask(''); } &.icon-standard-view { width: 24px; height: 24px; - .encoded-svg-mask(''); + .encoded-svg-mask(''); } // Comments diff --git a/apps/documenteditor/mobile/src/less/icons-material.less b/apps/documenteditor/mobile/src/less/icons-material.less index c06e90443..72aa2863c 100644 --- a/apps/documenteditor/mobile/src/less/icons-material.less +++ b/apps/documenteditor/mobile/src/less/icons-material.less @@ -82,7 +82,7 @@ &.icon-standard-view { width: 24px; height: 24px; - .encoded-svg-mask('', @toolbar-icons); + .encoded-svg-mask('', @toolbar-icons); } &.icon-back-reader-mode { width: 24px; From e096d0cddb266bcda541d5e7db536ee7d294bf0e Mon Sep 17 00:00:00 2001 From: SergeyEzhin Date: Tue, 23 Aug 2022 16:47:52 +0300 Subject: [PATCH 2/2] [DE mobile] Fix Bug 58658 --- apps/documenteditor/mobile/src/less/icons-material.less | 2 +- apps/documenteditor/mobile/src/view/Toolbar.jsx | 2 +- apps/documenteditor/mobile/src/view/settings/Settings.jsx | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/apps/documenteditor/mobile/src/less/icons-material.less b/apps/documenteditor/mobile/src/less/icons-material.less index 72aa2863c..7768d66ea 100644 --- a/apps/documenteditor/mobile/src/less/icons-material.less +++ b/apps/documenteditor/mobile/src/less/icons-material.less @@ -77,7 +77,7 @@ &.icon-mobile-view { width: 24px; height: 24px; - .encoded-svg-mask('', @toolbar-icons); + .encoded-svg-mask('', @toolbar-icons); } &.icon-standard-view { width: 24px; diff --git a/apps/documenteditor/mobile/src/view/Toolbar.jsx b/apps/documenteditor/mobile/src/view/Toolbar.jsx index 0c669980b..2c35d3f64 100644 --- a/apps/documenteditor/mobile/src/view/Toolbar.jsx +++ b/apps/documenteditor/mobile/src/view/Toolbar.jsx @@ -44,7 +44,7 @@ const ToolbarView = props => { onUndoClick: props.onUndo, onRedoClick: props.onRedo })} - {isViewer && props.changeMobileView()}>} + {(isViewer || !Device.phone) && props.changeMobileView()}>} {(props.showEditDocument && !isViewer) && } diff --git a/apps/documenteditor/mobile/src/view/settings/Settings.jsx b/apps/documenteditor/mobile/src/view/settings/Settings.jsx index 0cacc2067..79d869d76 100644 --- a/apps/documenteditor/mobile/src/view/settings/Settings.jsx +++ b/apps/documenteditor/mobile/src/view/settings/Settings.jsx @@ -160,7 +160,7 @@ const SettingsList = inject("storeAppOptions", "storeReview")(observer(props => } - {!isViewer && + {!isViewer && Device.phone && props.onChangeMobileView()} />