[SSE mobile] Correct store in application settings

This commit is contained in:
SergeyEzhin 2021-06-24 00:07:16 +03:00
parent b7d5babce1
commit d5e1aa57e9

View file

@ -28,13 +28,13 @@ export class storeApplicationSettings {
unitMeasurement = Common.Utils.Metric.getCurrentMetric();
macrosMode = 0;
formulaLang = LocalStorage.getItem('sse-settings-func-lang') || dataLang[0].value;
formulaLang = LocalStorage.getItem('sse-settings-func-lang') || this.getFormulaLanguages()[0].value;
regCode = undefined;
regExample = '';
regData = [];
isRefStyle = false;
isComments = true;
isResolvedComments = true;
isResolvedComments = true;
getFormulaLanguages() {
const dataLang = [