Skip to content

Commit

Permalink
[DE mobile] Fix Bug 66293
Browse files Browse the repository at this point in the history
  • Loading branch information
SergeyEzhin committed Feb 15, 2024
1 parent 4240212 commit 67b37a6
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions apps/documenteditor/mobile/src/controller/Main.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -241,7 +241,6 @@ class MainController extends Component {

const { t } = this.props;
const appOptions = this.props.storeAppOptions;
const isForm = appOptions.isForm;
const isOForm = appOptions.isOForm;
const appSettings = this.props.storeApplicationSettings;

Expand Down Expand Up @@ -276,7 +275,7 @@ class MainController extends Component {

value = LocalStorage.getBool('mobile-view', true);

if(value && !isForm) {
if(value) {
this.api.ChangeReaderMode();
} else {
appOptions.changeMobileView();
Expand Down

0 comments on commit 67b37a6

Please sign in to comment.