A fully open source & end-to-end encrypted note taking alternative to Evernote.
TypeScript asp-net-coredotnet-coreelectronfosshacktoberfestnote-managmentnote-takingnote-taking-appnotebooknotesnotes-appopen-sourceopensourceprivacyproductivityreactreact-nativereactjsself-hosted
update
ammarahm-ed24225f571afd
diff --git a/apps/mobile/src/components/ActionSheetComponent/index.js b/apps/mobile/src/components/ActionSheetComponent/index.jsindex 1b303bd6c..b99bc173e 100644--- a/apps/mobile/src/components/ActionSheetComponent/index.js+++ b/apps/mobile/src/components/ActionSheetComponent/index.js@@ -855,24 +855,6 @@ export const ActionSheetComponent = ({}}/>) : null}- {note.type !== 'note' || refreshing ? null : (- <Button- onPress={async () => await Sync.run('local')}- title={- user && lastSynced > note.dateEdited ? 'Synced' : 'Sync Now'- }- type="shade"- height={30}- fontSize={SIZE.sm}- style={{- margin: 1,- marginRight: 5,- paddingHorizontal: 0,- borderRadius: 100,- paddingHorizontal: 12- }}- />- )}{note.type === 'note' && (<Buttondiff --git a/apps/mobile/src/components/Premium/PendingDialog.js b/apps/mobile/src/components/Premium/PendingDialog.jsindex 7f8f6c40c..57bddf797 100644--- a/apps/mobile/src/components/Premium/PendingDialog.js+++ b/apps/mobile/src/components/Premium/PendingDialog.js@@ -1,9 +1,9 @@-import React, { createRef } from 'react';-import { View } from 'react-native';-import { eSubscribeEvent, eUnSubscribeEvent } from '../../services/EventManager';-import { db } from '../../utils/database';-import { eClosePendingDialog, eOpenPendingDialog } from '../../utils/Events';-import { SIZE } from '../../utils/SizeUtils';+import React, {createRef} from 'react';+import {View} from 'react-native';+import {eSubscribeEvent, eUnSubscribeEvent} from '../../services/EventManager';+import {db} from '../../utils/database';+import {eClosePendingDialog, eOpenPendingDialog} from '../../utils/Events';+import {SIZE} from '../../utils/SizeUtils';import ActionSheetWrapper from '../ActionSheetComponent/ActionSheetWrapper';import Seperator from '../Seperator';import Heading from '../Typography/Heading';@@ -15,7 +15,7 @@ class PendingDialog extends React.Component {super(props);this.state = {user: null,- product: null,+ product: null};}@@ -23,14 +23,14 @@ class PendingDialog extends React.Component {actionSheet.current?.setModalVisible(true);let u = await db.user.getUser();this.setState({- user: u && u.Id ? u : null,+ user: u && u.Id ? u : null});}close() {actionSheet.current?.setModalVisible(false);this.setState({- user: null,+ user: null});}async componentDidMount() {@@ -54,7 +54,7 @@ class PendingDialog extends React.Component {justifyContent: 'space-between',paddingHorizontal: 12,borderRadius: 10,- paddingTop: 10,+ paddingTop: 10}}><Headingsize={SIZE.xxxl}@@ -62,7 +62,7 @@ class PendingDialog extends React.Component {style={{paddingBottom: 20,paddingTop: 10,- alignSelf: 'center',+ alignSelf: 'center'}}>Thank you!</Heading>@@ -75,7 +75,7 @@ class PendingDialog extends React.Component {fontSize: SIZE.md,width: '80%',alignSelf: 'center',- textAlign: 'center',+ textAlign: 'center'}}>We are processing your subscription. You account will be upgraded toNotesnook Pro very soon.diff --git a/apps/mobile/src/components/Premium/PremiumComponent.js b/apps/mobile/src/components/Premium/PremiumComponent.jsindex a406e7e5f..2796d55c0 100644--- a/apps/mobile/src/components/Premium/PremiumComponent.js+++ b/apps/mobile/src/components/Premium/PremiumComponent.js@@ -41,7 +41,7 @@ const features = [title: 'Secure private vault for notes'},{- title: 'Full rich text editor with markdown support'+ title: 'Full rich text editor with markdown'},{title: 'Export notes in PDF, Markdown and HTML'@@ -53,7 +53,7 @@ const features = [title: 'Change app theme & accent colors'},{- title: 'Special Pro badge on our Discord server'+ title: 'Pro badge on our Discord server'}];@@ -229,7 +229,7 @@ export const PremiumComponent = ({close, promo, getRef}) => {<Viewstyle={{borderRadius: 10,- paddingHorizontal: 12,+ paddingHorizontal: 12}}>{product?.type !== 'promo' ? (user ? (@@ -238,7 +238,7 @@ export const PremiumComponent = ({close, promo, getRef}) => {flexDirection: 'row',alignItems: 'center',justifyContent: 'center',- marginBottom:10+ marginBottom: 10}}><ParagraphonPress={() => {@@ -339,7 +339,7 @@ export const PremiumComponent = ({close, promo, getRef}) => {Platform.OS);if (productId) {- getPromo(productId)+ getPromo(productId);ToastEvent.show({heading: 'Discount applied!',type: 'success',@@ -526,7 +526,7 @@ const RenderItem = React.memo(return (<Viewstyle={{- paddingHorizontal: 12,+ paddingHorizontal: 24,paddingVertical: 8,flexDirection: 'row',alignItems: 'center'@@ -536,7 +536,7 @@ const RenderItem = React.memo(style={{marginLeft: 10}}- size={SIZE.md + 2}>+ size={SIZE.md}>{item.title}</Paragraph></View>