Skip to content

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

Keep Screen Awake in merge editor

ammarahm-ede0d8fae36411
diff --git a/apps/mobile/src/components/MergeEditor/index.js b/apps/mobile/src/components/MergeEditor/index.js
index e62b4f17d..33ed05c7e 100644
--- a/apps/mobile/src/components/MergeEditor/index.js
+++ b/apps/mobile/src/components/MergeEditor/index.js
@@ -28,6 +28,7 @@ import DialogContainer from '../Dialog/dialog-container';
import DialogHeader from '../Dialog/dialog-header';
import {updateEvent} from '../DialogManager/recievers';
import Paragraph from '../Typography/Paragraph';
+import KeepAwake from '@sayem314/react-native-keep-awake';
const {Value, timing} = Animated;
@@ -322,6 +323,7 @@ const MergeEditor = () => {
backgroundColor: colors.nav,
paddingTop: insets.top,
}}>
+ <KeepAwake />
{dialogVisible && (
<BaseDialog visible={true}>
<DialogContainer>