[SSE mobile] refactoring

This commit is contained in:
Maxim Kadushkin 2021-02-25 00:17:00 +03:00
parent 1169d081fb
commit f6ae276b6b

View file

@ -20,13 +20,12 @@ class ApplicationSettingsController extends Component {
info.asc_setType(Asc.c_oAscNumFormatType.None);
info.asc_setSymbol(regSettings);
let arr = api.asc_getFormatCells(info);
let text = api.asc_getLocaleExample(arr[4], 1000.01, regSettings);
const arr = api.asc_getFormatCells(info);
const text4 = api.asc_getLocaleExample(arr[4], 1000.01, regSettings),
text5 = api.asc_getLocaleExample(arr[5], Asc.cDate().getExcelDateWithTime(), regSettings),
text6 = api.asc_getLocaleExample(arr[6], Asc.cDate().getExcelDateWithTime(), regSettings);
text = text + ' ' + api.asc_getLocaleExample(arr[5], Asc.cDate().getExcelDateWithTime(), regSettings);
text = text + ' ' + api.asc_getLocaleExample(arr[6], Asc.cDate().getExcelDateWithTime(), regSettings);
this.textRegSettingsExample = text;
this.textRegSettingsExample = `${text4} ${text5} ${text6}`;
}
onChangeDisplayComments(displayComments) {