Skip to content

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

minor fixes

ammarahm-edcce28d126f76
diff --git a/apps/mobile/src/components/Menu/ColorSection.js b/apps/mobile/src/components/Menu/ColorSection.js
index c1ec70b8c..14eaff165 100644
--- a/apps/mobile/src/components/Menu/ColorSection.js
+++ b/apps/mobile/src/components/Menu/ColorSection.js
@@ -84,7 +84,7 @@ const ColorItem = ({item, index}) => {
onPress={() => onPress(item)}
customStyle={{
flexDirection: 'row',
- justifyContent: noTextMode ? 'center' : 'flex-start',
+ justifyContent: 'flex-start',
alignItems: 'center',
width: '100%',
borderRadius: 0,
@@ -110,19 +110,17 @@ const ColorItem = ({item, index}) => {
/>
</View>
- {noTextMode ? null : (
- <View
- style={{
- flexDirection: 'row',
- justifyContent: 'space-between',
- alignItems: 'center',
- width: '85%',
- }}>
- <Paragraph color={colors.heading} size={SIZE.md}>
- {item.title.slice(0, 1).toUpperCase() + item.title.slice(1)}
- </Paragraph>
- </View>
- )}
+ <View
+ style={{
+ flexDirection: 'row',
+ justifyContent: 'space-between',
+ alignItems: 'center',
+ width: '85%',
+ }}>
+ <Paragraph color={colors.heading} size={SIZE.md}>
+ {item.title.slice(0, 1).toUpperCase() + item.title.slice(1)}
+ </Paragraph>
+ </View>
</PressableButton>
);
};
diff --git a/apps/mobile/src/components/NoteItem/index.js b/apps/mobile/src/components/NoteItem/index.js
index c350557f4..4338c3057 100644
--- a/apps/mobile/src/components/NoteItem/index.js
+++ b/apps/mobile/src/components/NoteItem/index.js
@@ -69,7 +69,7 @@ export default class NoteItem extends React.Component {
render() {
let {colors, item, customStyle, isTrash} = this.props;
-
+ console.log(item,"ITE<")
return (
<View
style={[