Skip to content

A fully open source & end-to-end encrypted note taking alternative to Evernote.

mobile: set editor reset time to 10 minutes

Ammar Ahmedc4152f0fc083
diff --git a/apps/mobile/app/hooks/use-app-events.tsx b/apps/mobile/app/hooks/use-app-events.tsx
index fedcd5236..c25028dde 100644
--- a/apps/mobile/app/hooks/use-app-events.tsx
+++ b/apps/mobile/app/hooks/use-app-events.tsx
@@ -535,7 +535,7 @@ export const useAppEvents = () => {
globalThis["IS_SHARE_EXTENSION"] = false;
if (
- SettingsService.getBackgroundEnterTime() + 60 * 1000 * 30 <
+ SettingsService.getBackgroundEnterTime() + 60 * 1000 * 10 <
Date.now()
) {
// Reset the editor if the app has been in background for more than 10 minutes.