From 67b37a6927215f845e88fe3011bcffdf2eb7ebbe Mon Sep 17 00:00:00 2001 From: SergeyEzhin Date: Thu, 15 Feb 2024 16:15:57 +0100 Subject: [PATCH 1/3] [DE mobile] Fix Bug 66293 --- apps/documenteditor/mobile/src/controller/Main.jsx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/apps/documenteditor/mobile/src/controller/Main.jsx b/apps/documenteditor/mobile/src/controller/Main.jsx index 0cd9ec78c0..47730aeee7 100644 --- a/apps/documenteditor/mobile/src/controller/Main.jsx +++ b/apps/documenteditor/mobile/src/controller/Main.jsx @@ -241,7 +241,6 @@ class MainController extends Component { const { t } = this.props; const appOptions = this.props.storeAppOptions; - const isForm = appOptions.isForm; const isOForm = appOptions.isOForm; const appSettings = this.props.storeApplicationSettings; @@ -276,7 +275,7 @@ class MainController extends Component { value = LocalStorage.getBool('mobile-view', true); - if(value && !isForm) { + if(value) { this.api.ChangeReaderMode(); } else { appOptions.changeMobileView(); From 2ad3f1c9847550adcf0c6ab4dd5c5e54304d7991 Mon Sep 17 00:00:00 2001 From: SergeyEzhin Date: Fri, 16 Feb 2024 13:05:52 +0100 Subject: [PATCH 2/3] [common] Fix Bug 66525 --- .../mobile/resources/less/common-ios.less | 2 +- .../mobile/resources/less/common-rtl.less | 20 +++++++++++++++---- 2 files changed, 17 insertions(+), 5 deletions(-) diff --git a/apps/common/mobile/resources/less/common-ios.less b/apps/common/mobile/resources/less/common-ios.less index bc94ea181e..787757cd65 100644 --- a/apps/common/mobile/resources/less/common-ios.less +++ b/apps/common/mobile/resources/less/common-ios.less @@ -476,7 +476,7 @@ line-height: 18px; right: 26px; color: @text-tertiary; - top: 5px; + top: 4.5px; z-index: 100; } } diff --git a/apps/common/mobile/resources/less/common-rtl.less b/apps/common/mobile/resources/less/common-rtl.less index 0360be5966..46893aef55 100644 --- a/apps/common/mobile/resources/less/common-rtl.less +++ b/apps/common/mobile/resources/less/common-rtl.less @@ -1,9 +1,16 @@ [dir="rtl"].device-android { .app-layout { - .searchbar input { - padding-right: 24px; - padding-left: 36px; - background-position: right; + .searchbar { + input { + padding-right: 24px; + padding-left: 36px; + background-position: right; + } + + .number-search-results { + right: auto; + left: 26px; + } } } @@ -47,6 +54,11 @@ } } + .searchbar .number-search-results { + right: auto; + left: 26px; + } + .popover { li:last-child, li:first-child { .segmented a:first-child { From 8b3b76a6dc4e4cd0a65a35c1313ba121495a4ba4 Mon Sep 17 00:00:00 2001 From: SergeyEzhin Date: Fri, 16 Feb 2024 13:34:17 +0100 Subject: [PATCH 3/3] [DE mobile] Displaying the spell check switch in view mode --- .../src/view/settings/ApplicationSettings.jsx | 26 ++++++++++--------- 1 file changed, 14 insertions(+), 12 deletions(-) diff --git a/apps/documenteditor/mobile/src/view/settings/ApplicationSettings.jsx b/apps/documenteditor/mobile/src/view/settings/ApplicationSettings.jsx index 5b845e22d2..80ed1e26a5 100644 --- a/apps/documenteditor/mobile/src/view/settings/ApplicationSettings.jsx +++ b/apps/documenteditor/mobile/src/view/settings/ApplicationSettings.jsx @@ -37,7 +37,7 @@ const PageApplicationSettings = props => { {_isEdit && !isViewer && - + <> {_t.textUnitOfMeasurement} { changeMeasureSettings(2)}> - - - { - storeApplicationSettings.changeSpellCheck(!isSpellChecking); - props.switchSpellCheck(!isSpellChecking); - }} - /> - - {/*ToDo: if (DisplayMode == "final" || DisplayMode == "original") {disabled} */} { /> - + + } + {_isEdit && + + + { + storeApplicationSettings.changeSpellCheck(!isSpellChecking); + props.switchSpellCheck(!isSpellChecking); + }} + /> + + } {_t.textCommentsDisplay}