Skip to content

Commit

Permalink
[DE PE SSE mobile] For Bug 65870
Browse files Browse the repository at this point in the history
  • Loading branch information
SergeyEzhin committed Sep 18, 2024
1 parent 9bacfb6 commit 11b0520
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 11 deletions.
10 changes: 5 additions & 5 deletions apps/common/mobile/utils/htmlutils.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,12 +32,12 @@ function isLocalStorageAvailable() {
}

{
let modeDirection = 'ltr';
if ( Common.Locale.isCurrentLangRtl ) {
modeDirection = (isLocalStorageAvailable() && localStorage.getItem('mobile-mode-direction')) || 'rtl';
}
// let modeDirection = 'ltr';
// if ( Common.Locale.isCurrentLangRtl ) {
// modeDirection = (isLocalStorageAvailable() && localStorage.getItem('mobile-mode-direction')) || 'rtl';
// }

if(modeDirection === 'rtl') {
if (Common.Locale.isCurrentLangRtl) {
load_stylesheet('./css/framework7-rtl.css');
document.body.classList.add('rtl');
} else {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ const PageApplicationSettings = props => {
}}></ListItem>
</List>
}
{Common.Locale.isCurrentLangRtl &&
{/* {Common.Locale.isCurrentLangRtl &&
<>
<List>
<ListItem>
Expand All @@ -132,7 +132,7 @@ const PageApplicationSettings = props => {
<p>{t('Settings.textExplanationChangeDirection')}</p>
</Block>
</>
}
} */}
</Page>
);
};
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ const PageApplicationSettings = props => {
setMacrosSettings: props.setMacrosSettings
}}></ListItem>
</List>
{Common.Locale.isCurrentLangRtl &&
{/* {Common.Locale.isCurrentLangRtl &&
<>
<List>
<ListItem>
Expand All @@ -85,7 +85,7 @@ const PageApplicationSettings = props => {
<p>{t('View.Settings.textExplanationChangeDirection')}</p>
</Block>
</>
}
} */}
</Page>
);
};
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ const PageApplicationSettings = props => {
onChangeMacrosSettings: props.onChangeMacrosSettings
}}></ListItem>
</List>
{Common.Locale.isCurrentLangRtl &&
{/* {Common.Locale.isCurrentLangRtl &&
<>
<List>
<ListItem>
Expand All @@ -129,7 +129,7 @@ const PageApplicationSettings = props => {
<p>{t('View.Settings.textExplanationChangeDirection')}</p>
</Block>
</>
}
} */}
</Page>
);
};
Expand Down

0 comments on commit 11b0520

Please sign in to comment.