diff --git a/apps/documenteditor/mobile/src/controller/Main.jsx b/apps/documenteditor/mobile/src/controller/Main.jsx
index 4f7f66db4..2c08c6224 100644
--- a/apps/documenteditor/mobile/src/controller/Main.jsx
+++ b/apps/documenteditor/mobile/src/controller/Main.jsx
@@ -724,6 +724,12 @@ class MainController extends Component {
storeDocumentInfo.changeCount(this.objectInfo);
});
+ this.api.asc_registerCallback('asc_onMeta', (meta) => {
+ if(meta) {
+ storeDocumentInfo.changeTitle(meta.title);
+ }
+ });
+
// Color Schemes
this.api.asc_registerCallback('asc_onSendThemeColorSchemes', (arr) => {
diff --git a/apps/documenteditor/mobile/src/less/app.less b/apps/documenteditor/mobile/src/less/app.less
index a5eb9c577..279268c4e 100644
--- a/apps/documenteditor/mobile/src/less/app.less
+++ b/apps/documenteditor/mobile/src/less/app.less
@@ -221,7 +221,7 @@
overflow: hidden;
.sheet-modal-inner {
background: @background-tertiary;
- overflow-y: auto;
+ overflow: hidden;
}
&.sheet-modal-bottom:before, &.sheet-modal:not(.sheet-modal-top):before {
display: none;
diff --git a/apps/documenteditor/mobile/src/store/documentInfo.js b/apps/documenteditor/mobile/src/store/documentInfo.js
index d57b4b90c..e79cfdf0d 100644
--- a/apps/documenteditor/mobile/src/store/documentInfo.js
+++ b/apps/documenteditor/mobile/src/store/documentInfo.js
@@ -8,7 +8,8 @@ export class storeDocumentInfo {
dataDoc: observable,
switchIsLoaded: action,
changeCount: action,
- setDataDoc: action
+ setDataDoc: action,
+ changeTitle: action
});
}
@@ -45,4 +46,8 @@ export class storeDocumentInfo {
setDataDoc(obj) {
this.dataDoc = obj;
}
-}
\ No newline at end of file
+
+ changeTitle(title) {
+ this.dataDoc.title = title;
+ }
+}
diff --git a/apps/documenteditor/mobile/src/view/edit/EditParagraph.jsx b/apps/documenteditor/mobile/src/view/edit/EditParagraph.jsx
index faab173e9..0e349c542 100644
--- a/apps/documenteditor/mobile/src/view/edit/EditParagraph.jsx
+++ b/apps/documenteditor/mobile/src/view/edit/EditParagraph.jsx
@@ -207,7 +207,7 @@ const EditParagraph = props => {
onStyleMenuDelete: props.onStyleMenuDelete
}}>
{curStyle &&
-
@@ -369,7 +369,7 @@ const ChangeNextParagraphStyle = props => {
}}
>
))}
diff --git a/apps/documenteditor/mobile/src/view/settings/DocumentInfo.jsx b/apps/documenteditor/mobile/src/view/settings/DocumentInfo.jsx
index b414c41cd..be1a4e671 100644
--- a/apps/documenteditor/mobile/src/view/settings/DocumentInfo.jsx
+++ b/apps/documenteditor/mobile/src/view/settings/DocumentInfo.jsx
@@ -8,7 +8,6 @@ const PageDocumentInfo = (props) => {
const _t = t("Settings", { returnObjects: true });
const storeInfo = props.storeDocumentInfo;
const fileType = storeInfo.dataDoc.fileType;
-
const dataApp = props.getAppProps();
const {
diff --git a/apps/presentationeditor/mobile/src/controller/Main.jsx b/apps/presentationeditor/mobile/src/controller/Main.jsx
index 55d72613c..5411a8e6c 100644
--- a/apps/presentationeditor/mobile/src/controller/Main.jsx
+++ b/apps/presentationeditor/mobile/src/controller/Main.jsx
@@ -435,6 +435,16 @@ class MainController extends Component {
});
this.api.asc_registerCallback('asc_onReplaceAll', this.onApiTextReplaced.bind(this));
+
+ // Presentation Info
+
+ const storePresentationInfo = this.props.storePresentationInfo;
+
+ this.api.asc_registerCallback('asc_onMeta', (meta) => {
+ if(meta) {
+ storePresentationInfo.changeTitle(meta.title);
+ }
+ });
}
onApiTextReplaced(found, replaced) {
diff --git a/apps/presentationeditor/mobile/src/store/presentationInfo.js b/apps/presentationeditor/mobile/src/store/presentationInfo.js
index 29b690525..7acd8c86b 100644
--- a/apps/presentationeditor/mobile/src/store/presentationInfo.js
+++ b/apps/presentationeditor/mobile/src/store/presentationInfo.js
@@ -2,10 +2,11 @@ import { action, observable, makeObservable } from "mobx";
export class storePresentationInfo {
constructor() {
- makeObservable(this, {
- dataDoc: observable,
- setDataDoc: action
- });
+ makeObservable(this, {
+ dataDoc: observable,
+ setDataDoc: action,
+ changeTitle: action
+ });
}
dataDoc;
@@ -13,4 +14,8 @@ export class storePresentationInfo {
setDataDoc(obj) {
this.dataDoc = obj;
}
+
+ changeTitle(title) {
+ this.dataDoc.title = title;
+ }
}
\ No newline at end of file
diff --git a/apps/spreadsheeteditor/mobile/src/controller/Main.jsx b/apps/spreadsheeteditor/mobile/src/controller/Main.jsx
index 9f1b46d82..a323cfa4e 100644
--- a/apps/spreadsheeteditor/mobile/src/controller/Main.jsx
+++ b/apps/spreadsheeteditor/mobile/src/controller/Main.jsx
@@ -439,6 +439,18 @@ class MainController extends Component {
this.api.asc_registerCallback('asc_onEntriesListMenu', this.onEntriesListMenu.bind(this, false));
this.api.asc_registerCallback('asc_onValidationListMenu', this.onEntriesListMenu.bind(this, true));
+
+ // Spreadsheet Info
+
+ const storeSpreadsheetInfo = this.props.storeSpreadsheetInfo;
+
+ this.api.asc_registerCallback('asc_onMeta', (meta) => {
+ if(meta) {
+ storeSpreadsheetInfo.changeTitle(meta.title);
+ }
+ });
+
+
}
onEntriesListMenu(validation, textArr, addArr) {
diff --git a/apps/spreadsheeteditor/mobile/src/store/spreadsheetInfo.js b/apps/spreadsheeteditor/mobile/src/store/spreadsheetInfo.js
index 406bda2ec..18681f084 100644
--- a/apps/spreadsheeteditor/mobile/src/store/spreadsheetInfo.js
+++ b/apps/spreadsheeteditor/mobile/src/store/spreadsheetInfo.js
@@ -4,7 +4,8 @@ export class storeSpreadsheetInfo {
constructor() {
makeObservable(this, {
dataDoc: observable,
- setDataDoc: action
+ setDataDoc: action,
+ changeTitle: action
})
}
@@ -13,4 +14,8 @@ export class storeSpreadsheetInfo {
setDataDoc(obj) {
this.dataDoc = obj;
}
+
+ changeTitle(title) {
+ this.dataDoc.title = title;
+ }
}
\ No newline at end of file