aboutsummaryrefslogtreecommitdiff
path: root/src/mobile/MobileInterface.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'src/mobile/MobileInterface.tsx')
-rw-r--r--src/mobile/MobileInterface.tsx4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mobile/MobileInterface.tsx b/src/mobile/MobileInterface.tsx
index e3d8f9394..a1ce55314 100644
--- a/src/mobile/MobileInterface.tsx
+++ b/src/mobile/MobileInterface.tsx
@@ -257,7 +257,7 @@ export class MobileInterface extends React.Component {
}
@action
- componentDidMount = () => {
+ componentDidMount() {
// if the home menu is in list view -> adjust the menu toggle appropriately
this._menuListView = this._homeDoc._type_collection === 'stacking' ? true : false;
Doc.ActiveTool = InkTool.None; // ink should intially be set to none
@@ -267,7 +267,7 @@ export class MobileInterface extends React.Component {
// remove double click to avoid mobile zoom in
document.removeEventListener('dblclick', this.onReactDoubleClick);
document.addEventListener('dblclick', this.onReactDoubleClick);
- };
+ }
@action
componentWillUnmount = () => {