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
remove fontFamily
ammarahm-ed867fdc715dfb
diff --git a/apps/mobile/src/components/ActionSheetComponent/ActionSheetTagsSection.js b/apps/mobile/src/components/ActionSheetComponent/ActionSheetTagsSection.jsindex b0fcd5f73..332e88fdf 100644--- a/apps/mobile/src/components/ActionSheetComponent/ActionSheetTagsSection.js+++ b/apps/mobile/src/components/ActionSheetComponent/ActionSheetTagsSection.js@@ -235,7 +235,7 @@ export const ActionSheetTagsSection = ({item, close}) => {style={{minWidth: 100,zIndex: 10,- fontFamily: "sans-serif",+ //fontFamily: "sans-serif",color: colors.pri,paddingHorizontal: 5,paddingVertical: 0,diff --git a/apps/mobile/src/components/AddNotebookDialog/index.js b/apps/mobile/src/components/AddNotebookDialog/index.jsindex 18714223e..9473adc09 100644--- a/apps/mobile/src/components/AddNotebookDialog/index.js+++ b/apps/mobile/src/components/AddNotebookDialog/index.js@@ -525,7 +525,7 @@ const styles = StyleSheet.create({topicInput: {padding: pv - 5,fontSize: SIZE.sm,- fontFamily: "sans-serif",+ //fontFamily: "sans-serif",paddingHorizontal: ph,paddingRight: 40,paddingVertical: 10,diff --git a/apps/mobile/src/components/DummyText/index.js b/apps/mobile/src/components/DummyText/index.jsindex 5a3dd70b6..34e452521 100644--- a/apps/mobile/src/components/DummyText/index.js+++ b/apps/mobile/src/components/DummyText/index.js@@ -1,24 +1,23 @@-import React, { createRef } from 'react';-import { Text } from 'react-native';-import { SIZE } from '../../utils/SizeUtils';+import React, {createRef} from 'react';+import {Text} from 'react-native';+import {SIZE} from '../../utils/SizeUtils';export const dummyRef = createRef();export const DummyText = () => {return (<Text- ref={dummyRef}+ ref={dummyRef}style={[{- fontFamily: "sans-serif",- fontSize: SIZE.sm,- position:"absolute",- right:-1000,- top:-1000+ //fontFamily: "sans-serif",+ fontSize: SIZE.sm,+ position: 'absolute',+ right: -1000,+ top: -1000,},]}>a</Text>);};-diff --git a/apps/mobile/src/components/ExportDialog/index.js b/apps/mobile/src/components/ExportDialog/index.jsindex e94f5552e..19ed5ffad 100644--- a/apps/mobile/src/components/ExportDialog/index.js+++ b/apps/mobile/src/components/ExportDialog/index.js@@ -247,7 +247,7 @@ const styles = StyleSheet.create({flexDirection: 'row',},buttonText: {- fontFamily: "sans-serif",+ //fontFamily: "sans-serif",color: 'white',fontSize: SIZE.sm,marginLeft: 5,diff --git a/apps/mobile/src/components/Input/index.js b/apps/mobile/src/components/Input/index.jsindex 911cadf87..2d077b925 100644--- a/apps/mobile/src/components/Input/index.js+++ b/apps/mobile/src/components/Input/index.js@@ -131,7 +131,7 @@ const Input = ({const textStyle = {paddingHorizontal: 0,fontSize: SIZE.md,- fontFamily: "sans-serif",+ //ontFamily: "sans-serif",color: colors.pri,paddingVertical: 0,paddingBottom: 2.5,diff --git a/apps/mobile/src/components/Loading/index.js b/apps/mobile/src/components/Loading/index.jsindex 7acbb1510..7a13d32a9 100644--- a/apps/mobile/src/components/Loading/index.js+++ b/apps/mobile/src/components/Loading/index.js@@ -64,7 +64,7 @@ const styles = StyleSheet.create({flexDirection: 'row',},buttonText: {- fontFamily: "sans-serif",+ //fontFamily: "sans-serif",color: 'white',fontSize: SIZE.sm,},diff --git a/apps/mobile/src/components/MoveNoteDialog/index.js b/apps/mobile/src/components/MoveNoteDialog/index.jsindex 49d188562..335d2e55d 100644--- a/apps/mobile/src/components/MoveNoteDialog/index.js+++ b/apps/mobile/src/components/MoveNoteDialog/index.js@@ -238,7 +238,7 @@ const MoveNoteComponent = ({close, note, setNote}) => {borderRadius: 5,minHeight: 45,fontSize: SIZE.md,- fontFamily: "sans-serif",+ //fontFamily: "sans-serif",padding: pv - 2,},]}@@ -377,7 +377,7 @@ const MoveNoteComponent = ({close, note, setNote}) => {borderRadius: 5,height: 40,fontSize: SIZE.sm,- fontFamily: "sans-serif",+ //fontFamily: "sans-serif",padding: pv - 2,},]}diff --git a/apps/mobile/src/components/NotebookItem/index.js b/apps/mobile/src/components/NotebookItem/index.jsindex df1a75b88..fe26713ee 100644--- a/apps/mobile/src/components/NotebookItem/index.js+++ b/apps/mobile/src/components/NotebookItem/index.js@@ -190,7 +190,7 @@ export const NotebookItem = ({size={SIZE.xs}style={{marginRight: 10,- fontFamily: "sans-serif",+ //fontFamily: "sans-serif",}}>{item && item.totalNotes && item.totalNotes > 1? item.totalNotes + ' Notes'diff --git a/apps/mobile/src/components/Premium/PremiumStatusDialog.js b/apps/mobile/src/components/Premium/PremiumStatusDialog.jsindex 8d12686d9..2d8066f42 100644--- a/apps/mobile/src/components/Premium/PremiumStatusDialog.js+++ b/apps/mobile/src/components/Premium/PremiumStatusDialog.js@@ -100,7 +100,7 @@ const styles = StyleSheet.create({alignItems: 'center',},heading: {- fontFamily: "sans-serif",+ //fontFamily: "sans-serif",fontWeight:'bold',marginLeft: 5,fontSize: SIZE.xxxl,diff --git a/apps/mobile/src/components/SearchInput/index.js b/apps/mobile/src/components/SearchInput/index.jsindex bde38891b..3738b6678 100644--- a/apps/mobile/src/components/SearchInput/index.js+++ b/apps/mobile/src/components/SearchInput/index.js@@ -42,7 +42,7 @@ export const SearchInput = (props) => {<TextInputref={inputRef}style={{- fontFamily: "sans-serif",+ //fontFamily: "sans-serif",fontWeight:'bold',color: colors.pri,fontSize: SIZE.xl,diff --git a/apps/mobile/src/components/Typography/Heading.js b/apps/mobile/src/components/Typography/Heading.jsindex bcd20b47c..d8a433b9c 100644--- a/apps/mobile/src/components/Typography/Heading.js+++ b/apps/mobile/src/components/Typography/Heading.js@@ -1,4 +1,5 @@import React from 'react';+import { Platform } from 'react-native';import {Text} from 'react-native';import {useTracked} from '../../provider';import {SIZE} from '../../utils/SizeUtils';@@ -26,7 +27,6 @@ const Heading = ({color, size = SIZE.xl, style, ...restProps}) => {{...restProps}style={[{- fontFamily: 'sans-serif',fontSize: size || SIZE.xl,color: color || colors.heading,fontWeight: 'bold',diff --git a/apps/mobile/src/components/VaultDialog/index.js b/apps/mobile/src/components/VaultDialog/index.jsindex 070edc7f0..9ccf54522 100644--- a/apps/mobile/src/components/VaultDialog/index.js+++ b/apps/mobile/src/components/VaultDialog/index.js@@ -643,7 +643,7 @@ export class VaultDialog extends Component {<Paragraphstyle={{fontSize: SIZE.sm,- fontFamily: "sans-serif",+ //fontFamily: "sans-serif",color: colors.pri,maxWidth: '90%',marginLeft: 10,diff --git a/apps/mobile/src/provider/Reducer.js b/apps/mobile/src/provider/Reducer.jsindex 2a5539902..02fe49c89 100644--- a/apps/mobile/src/provider/Reducer.js+++ b/apps/mobile/src/provider/Reducer.js@@ -8,7 +8,9 @@ import {defaultState} from './DefaultState';export const reducer = (state, action) => {switch (action.type) {+case Actions.ALL: {+ console.log(sortSettings.sortOrder,'SORT ORDER');return {...state,notes: db.notes.group(@@ -53,6 +55,7 @@ export const reducer = (state, action) => {};}case Actions.NOTES:+ console.log(sortSettings.sortOrder,'SORT ORDER');return {...state,notes: db.notes.group(diff --git a/apps/mobile/src/utils/index.js b/apps/mobile/src/utils/index.jsindex 7f7bc4ede..b09dc1259 100755--- a/apps/mobile/src/utils/index.js+++ b/apps/mobile/src/utils/index.js@@ -37,7 +37,7 @@ export const getElevation = (elevation) => {export const sortSettings = {sort: defaultState.settings.sort,- sortOrder: defaultState.settings.sortOrder,+ sortOrder: "desc",};export const SORT = {diff --git a/apps/mobile/src/views/Editor/EditorTitle.js b/apps/mobile/src/views/Editor/EditorTitle.jsindex 4e5057d28..e30537320 100644--- a/apps/mobile/src/views/Editor/EditorTitle.js+++ b/apps/mobile/src/views/Editor/EditorTitle.js@@ -60,7 +60,7 @@ export const EditorTitle = () => {<TextInputdefaultValue={title}style={{- fontFamily: "sans-serif",+ //fontFamily: "sans-serif",fontWeight:'bold',fontSize: SIZE.xl,color: colors.heading,diff --git a/apps/mobile/src/views/Settings/index.js b/apps/mobile/src/views/Settings/index.jsindex 8a6d093fc..0f9b5fa81 100644--- a/apps/mobile/src/views/Settings/index.js+++ b/apps/mobile/src/views/Settings/index.js@@ -747,7 +747,7 @@ const SettingsAppearanceSection = () => {: 'transparent',}}textStyle={{- fontFamily: "sans-serif",+ //fontFamily: "sans-serif",fontSize: SIZE.sm,color:settings.homepage === item.name