Skip to content

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

minor fixes

ammarahm-ed9c04ccedca72
diff --git a/apps/mobile/src/components/DialogManager/index.js b/apps/mobile/src/components/DialogManager/index.js
index f4b6a1040..969cfbfed 100644
--- a/apps/mobile/src/components/DialogManager/index.js
+++ b/apps/mobile/src/components/DialogManager/index.js
@@ -139,7 +139,7 @@ export const TEMPLATE_EXIT = type => {
export const TEMPLATE_INFO = dateCreated => {
return {
title: `Note Info`,
- paragraph: `Created on ${timeConverter(dateCreated)}`,
+ paragraph: `Created on ${timeConverter(dateCreated)} `,
positiveText: ``,
negativeText: '',
noButtons: true,
diff --git a/apps/mobile/src/components/Menu/index.js b/apps/mobile/src/components/Menu/index.js
index 35503d44d..85ff0c42b 100644
--- a/apps/mobile/src/components/Menu/index.js
+++ b/apps/mobile/src/components/Menu/index.js
@@ -6,33 +6,32 @@ import {
Text,
TouchableOpacity,
View,
- DeviceEventEmitter,
} from 'react-native';
import FastStorage from 'react-native-fast-storage';
import Icon from 'react-native-vector-icons/Feather';
+import {db, DDS} from '../../../App';
import {
ACCENT,
COLOR_SCHEME,
COLOR_SCHEME_DARK,
COLOR_SCHEME_LIGHT,
+ normalize,
opacity,
pv,
setColorScheme,
SIZE,
WEIGHT,
- normalize,
} from '../../common/common';
import {useTracked} from '../../provider';
import {ACTIONS} from '../../provider/actions';
-import NavigationService from '../../services/NavigationService';
-import {AnimatedSafeAreaView} from '../../views/Home';
-import {DDS, db} from '../../../App';
+import {eSendEvent} from '../../services/eventManager';
import {
eOpenLoginDialog,
eOpenModalMenu,
eSendSideMenuOverlayRef,
} from '../../services/events';
-import {eSendEvent} from '../../services/eventManager';
+import NavigationService from '../../services/NavigationService';
+import {AnimatedSafeAreaView} from '../../views/Home';
export const Menu = ({
close = () => {},
@@ -346,13 +345,21 @@ export const Menu = ({
paddingLeft: 2.5,
marginTop: 5,
}}>
+ <Text
+ style={{
+ fontFamily: WEIGHT.regular,
+ fontSize: SIZE.xs + 1,
+ color: colors.accent,
+ }}>
+ #
+ </Text>
<Text
style={{
fontFamily: WEIGHT.regular,
fontSize: SIZE.xs + 1,
color: colors.icon,
}}>
- #{item.title}
+ {item.title}
</Text>
{item.count > 1 ? (
<Text
diff --git a/apps/mobile/src/components/NoteItem/index.js b/apps/mobile/src/components/NoteItem/index.js
index 4b1c44983..28ce8ce38 100644
--- a/apps/mobile/src/components/NoteItem/index.js
+++ b/apps/mobile/src/components/NoteItem/index.js
@@ -76,8 +76,7 @@ export default class NoteItem extends React.Component {
alignItems: 'center',
flexDirection: 'row',
maxWidth: '100%',
- paddingRight: 12,
-
+ paddingRight: 6,
alignSelf: 'center',
borderBottomWidth: 1,
borderBottomColor: colors.nav,
@@ -139,7 +138,7 @@ export default class NoteItem extends React.Component {
color: colors.pri,
fontSize: SIZE.sm + 1,
fontFamily: WEIGHT.bold,
- maxWidth: '95%',
+ maxWidth: '100%',
}}>
{item.title.replace('\n', '')}
</Text>
@@ -257,14 +256,12 @@ export default class NoteItem extends React.Component {
<View
style={{
- width: DDS.isTab ? w * 0.7 * 0.05 : w * 0.05,
justifyContent: 'center',
minHeight: 70,
alignItems: 'center',
}}>
<TouchableOpacity
style={{
- width: w * 0.05,
justifyContent: 'center',
minHeight: 70,
alignItems: 'center',
diff --git a/apps/mobile/src/components/NotebookItem/index.js b/apps/mobile/src/components/NotebookItem/index.js
index dc1cf0190..7878ebc5e 100644
--- a/apps/mobile/src/components/NotebookItem/index.js
+++ b/apps/mobile/src/components/NotebookItem/index.js
@@ -49,7 +49,6 @@ export const NotebookItem = ({
alignItems: 'center',
flexDirection: 'row',
paddingRight: 6,
- marginHorizontal: 12,
alignSelf: 'center',
borderBottomWidth: 1,
borderBottomColor: colors.nav,
diff --git a/apps/mobile/src/components/Toast/index.js b/apps/mobile/src/components/Toast/index.js
index eb5779dc3..34b8f4984 100644
--- a/apps/mobile/src/components/Toast/index.js
+++ b/apps/mobile/src/components/Toast/index.js
@@ -74,7 +74,6 @@ export const Toast = () => {
opacity: toast ? 1 : 0,
bottom: 100,
position: 'absolute',
-
zIndex: 999,
transform: [
{