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
some minor changes
ammarahm-edbdc95e3236d3
diff --git a/apps/mobile/src/components/ActionSheetComponent/index.js b/apps/mobile/src/components/ActionSheetComponent/index.jsindex 15d5fc034..b569cd453 100644--- a/apps/mobile/src/components/ActionSheetComponent/index.js+++ b/apps/mobile/src/components/ActionSheetComponent/index.js@@ -132,7 +132,7 @@ export const ActionSheetComponent = ({func: () => {close();clearSelection();- setSelectedItem(item);+ setSelectedItem(note);setTimeout(() => {eSendEvent(eOpenMoveNoteDialog, note);}, 300);diff --git a/apps/mobile/src/components/PublishNoteDialog/index.js b/apps/mobile/src/components/PublishNoteDialog/index.jsindex 689d0add9..ee4f0c33b 100644--- a/apps/mobile/src/components/PublishNoteDialog/index.js+++ b/apps/mobile/src/components/PublishNoteDialog/index.js@@ -215,17 +215,7 @@ const PublishNoteDialog = () => {/></View>)}-- {isLocked ? (- <Input- onChangeText={value => (passwordValue = value)}- blurOnSubmit- secureTextEntry- placeholder="Enter Password"- />- ) : (- <Seperator />- )}+ <Seperator /><TouchableOpacityonPress={() => {@@ -310,6 +300,19 @@ const PublishNoteDialog = () => {alignSelf: 'center',marginTop: 10,}}>+ {isLocked ? (+ <>+ <Input+ onChangeText={value => (passwordValue = value)}+ blurOnSubmit+ secureTextEntry+ defaultValue={passwordValue}+ placeholder="Enter Password"+ />+ <Seperator half />+ </>+ ) : null}+<ButtononPress={publishNote}fontSize={SIZE.md}diff --git a/apps/mobile/src/components/SimpleList/announcement.js b/apps/mobile/src/components/SimpleList/announcement.jsindex 739ab09c3..0df2535ac 100644--- a/apps/mobile/src/components/SimpleList/announcement.js+++ b/apps/mobile/src/components/SimpleList/announcement.js@@ -128,23 +128,13 @@ export const Announcement = () => {fontSize={SIZE.md}onPress={async () => {- eSendEvent(eOpenPremiumDialog, {- promoCode:"com.streetwriters.notesnook.sub.mo",- text: "Get 50% OFF",- });-- return-if (item.type === 'link') {try {- await openLinkInBrowser(- item.data,- state.colors,- );+ await openLinkInBrowser(item.data, state.colors);} catch (e) {}} else if (item.type === 'promo') {eSendEvent(eOpenPremiumDialog, {- promoCode:item.data,+ promoCode: item.data,text: item.title,});}