diff --git a/apps/mobile/src/components/ActionSheetComponent/ActionSheetTagsSection.js b/apps/mobile/src/components/ActionSheetComponent/ActionSheetTagsSection.js index 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.js index 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.js index 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 ( a ); }; - diff --git a/apps/mobile/src/components/ExportDialog/index.js b/apps/mobile/src/components/ExportDialog/index.js index 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.js index 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.js index 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.js index 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.js index 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.js index 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.js index 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) => { { {...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.js index 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 { { 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.js index 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.js index 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 = () => { { : 'transparent', }} textStyle={{ - fontFamily: "sans-serif", + //fontFamily: "sans-serif", fontSize: SIZE.sm, color: settings.homepage === item.name