Skip to content

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

ui fixes

ammarahm-eda48fd9f70cb0
diff --git a/apps/mobile/src/components/ExportDialog/index.js b/apps/mobile/src/components/ExportDialog/index.js
index c9228911a..5b99d9b71 100644
--- a/apps/mobile/src/components/ExportDialog/index.js
+++ b/apps/mobile/src/components/ExportDialog/index.js
@@ -94,9 +94,9 @@ const ExportDialog = () => {
() => {
eSendEvent(eShowGetPremium, {
context: 'export',
- title: 'Export in PDF, Markdown & HTML',
+ title: 'Export in PDF, MD & HTML',
desc:
- 'Get Notesnook Pro to export your note in PDF, Markdown and HTML formats!',
+ 'Get Notesnook Pro to export your notes in PDF, Markdown and HTML formats!',
});
},
);
@@ -114,9 +114,9 @@ const ExportDialog = () => {
() => {
eSendEvent(eShowGetPremium, {
context: 'export',
- title: 'Export in PDF, Markdown & HTML',
+ title: 'Export in PDF, MD & HTML',
desc:
- 'Get Notesnook Pro to export your note in PDF, Markdown and HTML formats!',
+ 'Get Notesnook Pro to export your notes in PDF, Markdown and HTML formats!',
});
},
);
@@ -142,9 +142,9 @@ const ExportDialog = () => {
() => {
eSendEvent(eShowGetPremium, {
context: 'export',
- title: 'Export in PDF, Markdown & HTML',
+ title: 'Export in PDF, MD & HTML',
desc:
- 'Get Notesnook Pro to export your note in PDF, Markdown and HTML formats!',
+ 'Get Notesnook Pro to export your notes in PDF, Markdown and HTML formats!',
});
},
);
@@ -155,7 +155,10 @@ const ExportDialog = () => {
];
return (
- <BaseDialog onRequestClose={close} visible={visible}>
+ <BaseDialog
+ premium={<GetPremium context="export" offset={50} close={close} />}
+ onRequestClose={close}
+ visible={visible}>
<View
style={[
{
@@ -164,7 +167,6 @@ const ExportDialog = () => {
},
styles.container,
]}>
- <GetPremium context="export" offset={-100} close={close} />
<DialogHeader
icon="export"
title="Export Note"
diff --git a/apps/mobile/src/components/RestoreDialog/index.js b/apps/mobile/src/components/RestoreDialog/index.js
index 906030852..74d39b312 100644
--- a/apps/mobile/src/components/RestoreDialog/index.js
+++ b/apps/mobile/src/components/RestoreDialog/index.js
@@ -1,27 +1,26 @@
-import React, {useEffect, useState} from 'react';
-import {FlatList, Platform, Text, View} from 'react-native';
-import {useSafeAreaInsets} from 'react-native-safe-area-context';
+import React, { useEffect, useState } from 'react';
+import { FlatList, Platform, Text, View } from 'react-native';
+import { useSafeAreaInsets } from 'react-native-safe-area-context';
import RNFetchBlob from 'rn-fetch-blob';
-import {useTracked} from '../../provider';
-import {Actions} from '../../provider/Actions';
+import { useTracked } from '../../provider';
+import { Actions } from '../../provider/Actions';
+import { DDS } from '../../services/DeviceDetection';
import {
eSubscribeEvent,
eUnSubscribeEvent,
- ToastEvent,
+ ToastEvent
} from '../../services/EventManager';
-import {eCloseRestoreDialog, eOpenRestoreDialog} from '../../utils/Events';
+import { getElevation } from '../../utils';
+import { db } from '../../utils/DB';
+import { eCloseRestoreDialog, eOpenRestoreDialog } from '../../utils/Events';
+import { ph, SIZE, WEIGHT } from '../../utils/SizeUtils';
import storage from '../../utils/storage';
-import {getElevation} from '../../utils';
-import {ActionIcon} from '../ActionIcon';
-import {Button} from '../Button';
+import { sleep } from '../../utils/TimeUtils';
+import { Button } from '../Button';
import BaseDialog from '../Dialog/base-dialog';
-import {Loading} from '../Loading';
-import {sleep} from '../../utils/TimeUtils';
-import {ph, SIZE, WEIGHT} from '../../utils/SizeUtils';
-import {db} from '../../utils/DB';
-import {DDS} from '../../services/DeviceDetection';
-import DialogHeader from '../Dialog/dialog-header';
import DialogButtons from '../Dialog/dialog-buttons';
+import DialogHeader from '../Dialog/dialog-header';
+import { Loading } from '../Loading';
const RestoreDialog = () => {
const [state, dispatch] = useTracked();