Skip to content

Commit

Permalink
Autosave monitor - Make the mobile editor ping the native at each key…
Browse files Browse the repository at this point in the history
…stroke, since the deboucing logic is already well defined in the apps. (#17548)
  • Loading branch information
daniloercoli committed Sep 25, 2019
1 parent e99d365 commit 69da85e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/editor/src/store/reducer.native.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ import {

import { EDITOR_SETTINGS_DEFAULTS } from './defaults.js';

EDITOR_SETTINGS_DEFAULTS.autosaveInterval = 2; // This is a way to override default on mobile
EDITOR_SETTINGS_DEFAULTS.autosaveInterval = 0; // This is a way to override default behavior on mobile, and make it ping the native save at each keystroke

export * from './reducer.js';

Expand Down

0 comments on commit 69da85e

Please sign in to comment.