diff --git a/apps/common/mobile/utils/device.jsx b/apps/common/mobile/utils/device.jsx index fe22cbfe7..783be9238 100644 --- a/apps/common/mobile/utils/device.jsx +++ b/apps/common/mobile/utils/device.jsx @@ -9,7 +9,7 @@ class WrapDevice { isMobile = /Mobile(\/|\s|;)/.test(ua); this.isPhone = /(iPhone|iPod)/.test(ua) || - (!/(Silk)/.test(ua) && (/(Android)/.test(ua) && (/(Android 2)/.test(ua) || isMobile))) || + (!/(Silk)/.test(ua) && (/(Android)/.test(ua) && !/Galaxy Tab S6|SCH-I800|Lenovo YT-X705X/.test(ua) && (/(Android 2)/.test(ua) || isMobile))) || (/(BlackBerry|BB)/.test(ua) && isMobile) || /(Windows Phone)/.test(ua); diff --git a/apps/spreadsheeteditor/mobile/src/controller/Statusbar.jsx b/apps/spreadsheeteditor/mobile/src/controller/Statusbar.jsx index c2d4bbab9..51d75b610 100644 --- a/apps/spreadsheeteditor/mobile/src/controller/Statusbar.jsx +++ b/apps/spreadsheeteditor/mobile/src/controller/Statusbar.jsx @@ -180,7 +180,7 @@ const Statusbar = inject('sheets', 'storeAppOptions', 'users')(observer(props => if (index == api.asc_getActiveWorksheetIndex()) { if (!opened) { - if (isEdit && !isDisconnected) { + if (isEdit && !isDisconnected && !model.locked) { api.asc_closeCellEditor(); f7.popover.open('#idx-tab-context-menu-popover', target); }