Skip to content

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

mobile: fix restore button is hidden in history preview item

Ammar Ahmeded3662a63615
diff --git a/apps/mobile/app/components/note-history/preview.js b/apps/mobile/app/components/note-history/preview.js
index 0f3a3af84..65dc0ba0f 100644
--- a/apps/mobile/app/components/note-history/preview.js
+++ b/apps/mobile/app/components/note-history/preview.js
@@ -117,7 +117,8 @@ export default function NotePreview({ session, content, note }) {
{!session?.locked && !locked ? (
<View
style={{
- flex: 1
+ flex: 1,
+ backgroundColor: colors.primary.background
}}
>
<ReadonlyEditor