Skip to content

A fully open source & end-to-end encrypted note taking alternative to Evernote.

improve readabilty

ammarahm-ede96f6196dd0b
diff --git a/apps/mobile/src/common/common.js b/apps/mobile/src/common/common.js
index 54974ab80..72d811bab 100755
--- a/apps/mobile/src/common/common.js
+++ b/apps/mobile/src/common/common.js
@@ -26,7 +26,7 @@ export var COLOR_SCHEME = {
bg: 'white',
navbg: '#f6fbfc',
nav: '#f0f0f0',
- pri: 'black',
+ pri: '#000000',
sec: 'white',
...fixedColors,
};
@@ -36,7 +36,7 @@ export const COLOR_SCHEME_LIGHT = {
bg: 'white',
navbg: '#f6fbfc',
nav: '#f0f0f0',
- pri: 'black',
+ pri: '#000000',
sec: 'white',
...fixedColors,
};
@@ -45,7 +45,7 @@ export const COLOR_SCHEME_DARK = {
bg: '#1f1f1f',
navbg: '#1c1c1c',
nav: '#2b2b2b',
- pri: 'white',
+ pri: '#ffffff',
sec: 'black',
...fixedColors,
};
diff --git a/apps/mobile/src/components/NoteItem/index.js b/apps/mobile/src/components/NoteItem/index.js
index 2a4696e17..52004b023 100644
--- a/apps/mobile/src/components/NoteItem/index.js
+++ b/apps/mobile/src/components/NoteItem/index.js
@@ -152,10 +152,10 @@ export default class NoteItem extends React.Component {
width: '100%',
}}>
<Text
- numberOfLines={4}
+ numberOfLines={2}
style={{
- fontSize: SIZE.xs + 1,
- color: colors.pri,
+ fontSize: SIZE.sm,
+ color: colors.pri + 'B3',
fontFamily: WEIGHT.regular,
width: '100%',
maxWidth: '100%',
diff --git a/apps/mobile/src/views/Editor/index.js b/apps/mobile/src/views/Editor/index.js
index fcd06a9cc..823b457c7 100755
--- a/apps/mobile/src/views/Editor/index.js
+++ b/apps/mobile/src/views/Editor/index.js
@@ -176,6 +176,24 @@ const Editor = ({navigation, noMenu}) => {
}
};
+ useEffect(() => {
+ if (noMenu) {
+ post(
+ JSON.stringify({
+ type: 'nomenu',
+ value: true,
+ }),
+ );
+ } else {
+ post(
+ JSON.stringify({
+ type: 'nomenu',
+ value: false,
+ }),
+ );
+ }
+ }, [noMenu]);
+
const onWebViewLoad = () => {
console.log('requesting focus');
EditorWebView.requestFocus();