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
mobile: ui cleanup
ammarahm-ed7a61e3558efd
diff --git a/apps/mobile/app/components/dialogs/result/index.js b/apps/mobile/app/components/dialogs/result/index.jsindex a5b7c10c7..1cb0cd76e 100644--- a/apps/mobile/app/components/dialogs/result/index.js+++ b/apps/mobile/app/components/dialogs/result/index.js@@ -135,7 +135,6 @@ const ResultDialog = () => {paddingHorizontal: 12}}onPress={close}- height={50}fontSize={SIZE.md + 2}/></View>diff --git a/apps/mobile/app/components/sheet-provider/index.js b/apps/mobile/app/components/sheet-provider/index.jsindex 6bcfc46b2..6787d8ce8 100644--- a/apps/mobile/app/components/sheet-provider/index.js+++ b/apps/mobile/app/components/sheet-provider/index.js@@ -212,7 +212,6 @@ const SheetProvider = ({ context = "global" }) => {title={item.actionText}icon={item.icon && item.icon}type={item.type || "accent"}- height={50}style={{marginBottom: 10}}diff --git a/apps/mobile/app/components/sheets/add-notebook/index.js b/apps/mobile/app/components/sheets/add-notebook/index.jsindex 1c8c95e01..40e69ee34 100644--- a/apps/mobile/app/components/sheets/add-notebook/index.js+++ b/apps/mobile/app/components/sheets/add-notebook/index.js@@ -375,7 +375,6 @@ export class AddNotebookSheet extends React.Component {<Seperator /><Buttonwidth="100%"- height={50}fontSize={SIZE.md}title={notebook && notebook.dateCreateddiff --git a/apps/mobile/app/components/sheets/export-notes/index.js b/apps/mobile/app/components/sheets/export-notes/index.jsindex 9ee4a4a93..c7f4e70df 100644--- a/apps/mobile/app/components/sheets/export-notes/index.js+++ b/apps/mobile/app/components/sheets/export-notes/index.js@@ -277,7 +277,6 @@ const ExportNotesSheet = ({ notes, update }) => {});});}}- height={50}/><Buttontitle="Share"@@ -301,7 +300,6 @@ const ExportNotesSheet = ({ notes, update }) => {}).catch(console.log);}}}- height={50}/><Buttontitle="Export in another format"@@ -317,7 +315,6 @@ const ExportNotesSheet = ({ notes, update }) => {setResult(null);setExporting(false);}}- height={50}/></>)}diff --git a/apps/mobile/app/components/sheets/export-notes/share.js b/apps/mobile/app/components/sheets/export-notes/share.jsindex 309dcf10e..d69ae4d4a 100644--- a/apps/mobile/app/components/sheets/export-notes/share.js+++ b/apps/mobile/app/components/sheets/export-notes/share.js@@ -48,7 +48,6 @@ export const ShareComponent = ({ uri, name, padding }) => {});});}}- height={50}/><Buttontitle="Share"@@ -65,7 +64,6 @@ export const ShareComponent = ({ uri, name, padding }) => {shareFile: true}).catch(console.log);}}- height={50}/></View>);diff --git a/apps/mobile/app/components/sheets/github/issue.js b/apps/mobile/app/components/sheets/github/issue.jsindex acc678671..9013c478c 100644--- a/apps/mobile/app/components/sheets/github/issue.js+++ b/apps/mobile/app/components/sheets/github/issue.js@@ -196,7 +196,6 @@ For example:onPress={onPress}title={loading ? null : "Submit"}loading={loading}- height={50}width="100%"type="accent"/>diff --git a/apps/mobile/app/components/sheets/manage-tags/index.js b/apps/mobile/app/components/sheets/manage-tags/index.jsindex e85050815..c77e4bde7 100644--- a/apps/mobile/app/components/sheets/manage-tags/index.js+++ b/apps/mobile/app/components/sheets/manage-tags/index.js@@ -142,7 +142,6 @@ const ManageTagsSheet = (props) => {setFocus(false);}}onSubmit={onSubmit}- height={50}placeholder="Search or add a tag"/>diff --git a/apps/mobile/app/components/sheets/publish-note/index.js b/apps/mobile/app/components/sheets/publish-note/index.jsindex 4756cc9d7..cdcb71c4d 100644--- a/apps/mobile/app/components/sheets/publish-note/index.js+++ b/apps/mobile/app/components/sheets/publish-note/index.js@@ -86,9 +86,6 @@ const PublishNoteSheet = ({ note: item, update }) => {const setPublishLoading = (value) => {setPublishing(value);- update({- progress: value- });};const deletePublishedNote = async () => {@@ -313,31 +310,37 @@ const PublishNoteSheet = ({ note: item, update }) => {</>) : null}- <Button- onPress={publishNote}- fontSize={SIZE.md}- width="100%"+ <Viewstyle={{- marginTop: 10+ flexDirection: "row",+ width: "100%",+ justifyContent: "space-between"}}- height={50}- type="accent"- title={isPublished ? "Update published note" : "Publish note"}- />+ >+ {isPublished && (+ <>+ <Button+ onPress={deletePublishedNote}+ fontSize={SIZE.md}+ type="error"+ title="Unpublish"+ style={{+ width: "49%"+ }}+ />+ </>+ )}- {isPublished && (- <>- <Seperator half />- <Button- onPress={deletePublishedNote}- fontSize={SIZE.md}- width="100%"- height={50}- type="error"- title="Unpublish note"- />- </>- )}+ <Button+ onPress={publishNote}+ fontSize={SIZE.md}+ style={{+ width: isPublished ? "49%" : "100%"+ }}+ type="accent"+ title={isPublished ? "Update" : "Publish"}+ />+ </View></View></>)}diff --git a/apps/mobile/app/components/sheets/rate-app/index.js b/apps/mobile/app/components/sheets/rate-app/index.jsindex 3eb41263c..43d9e74b7 100644--- a/apps/mobile/app/components/sheets/rate-app/index.js+++ b/apps/mobile/app/components/sheets/rate-app/index.js@@ -96,7 +96,6 @@ const RateAppSheet = () => {onPress={rateApp}fontSize={SIZE.md}width="100%"- height={50}type="accent"title="Rate now (It takes only a second)"/>@@ -121,14 +120,12 @@ const RateAppSheet = () => {fontSize={SIZE.md}type="error"width="48%"- height={50}title="Never"/><ButtononPress={onClose}fontSize={SIZE.md}width="48%"- height={50}type="grayBg"title="Later"/>diff --git a/apps/mobile/app/components/sheets/recovery-key/index.js b/apps/mobile/app/components/sheets/recovery-key/index.jsindex 921b50ccc..388f99106 100644--- a/apps/mobile/app/components/sheets/recovery-key/index.js+++ b/apps/mobile/app/components/sheets/recovery-key/index.js@@ -298,7 +298,6 @@ class RecoveryKeySheet extends React.Component {width="100%"type="grayAccent"fontSize={SIZE.md}- height={50}/><Seperator /><Button@@ -308,7 +307,6 @@ class RecoveryKeySheet extends React.Component {type="grayAccent"fontSize={SIZE.md}icon="qrcode"- height={50}/><Seperator /><Button@@ -318,7 +316,6 @@ class RecoveryKeySheet extends React.Component {type="grayAccent"icon="text"fontSize={SIZE.md}- height={50}/><Seperator />@@ -329,7 +326,6 @@ class RecoveryKeySheet extends React.Component {type="grayAccent"icon="cloud"fontSize={SIZE.md}- height={50}/><Seperator />@@ -349,7 +345,6 @@ class RecoveryKeySheet extends React.Component {<Buttontitle="I have saved the key."width="100%"- height={50}type="error"fontSize={SIZE.md}onPress={this.close}diff --git a/apps/mobile/app/components/side-menu/pinned-section.js b/apps/mobile/app/components/side-menu/pinned-section.jsindex 866b55416..444b7789a 100644--- a/apps/mobile/app/components/side-menu/pinned-section.js+++ b/apps/mobile/app/components/side-menu/pinned-section.js@@ -164,7 +164,6 @@ export const PinItem = React.memo(}}fontSize={SIZE.md}width="95%"- height={50}customStyle={{marginBottom: 30}}diff --git a/apps/mobile/app/components/ui/input/index.tsx b/apps/mobile/app/components/ui/input/index.tsxindex 4186cda61..97874a033 100644--- a/apps/mobile/app/components/ui/input/index.tsx+++ b/apps/mobile/app/components/ui/input/index.tsx@@ -92,7 +92,7 @@ const Input = ({button,onBlurInput,onPress,- height = 50,+ height = 45,fontSize = SIZE.md,onFocusInput,buttons,diff --git a/apps/mobile/app/utils/color-scheme/index.js b/apps/mobile/app/utils/color-scheme/index.jsindex 4a7bcc76c..e6818f391 100644--- a/apps/mobile/app/utils/color-scheme/index.js+++ b/apps/mobile/app/utils/color-scheme/index.js@@ -104,7 +104,7 @@ export const COLOR_SCHEME_PITCH_BLACK = {light: "#ffffff",transGray: "#ffffff10",border: "#383838",- placeholder: "#404040"+ placeholder: "#606060"};export const COLOR_SCHEME_DARK = {