From 69da85e5b89baffd2871bda84358bb7e2fffbe8b Mon Sep 17 00:00:00 2001 From: Danilo Ercoli Date: Wed, 25 Sep 2019 11:08:33 +0200 Subject: [PATCH] Autosave monitor - Make the mobile editor ping the native at each keystroke, since the deboucing logic is already well defined in the apps. (#17548) --- packages/editor/src/store/reducer.native.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/editor/src/store/reducer.native.js b/packages/editor/src/store/reducer.native.js index 0c2c4e7d24e704..7657101e6ea7a4 100644 --- a/packages/editor/src/store/reducer.native.js +++ b/packages/editor/src/store/reducer.native.js @@ -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';