Skip to content

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

Merge branch 'master' into feature/ux

Ammar Ahmed0dc0ba21f9a1
diff --cc apps/mobile/app/components/properties/index.js
index 9fdee3c45,2e41877dd..e55d39b15
--- a/apps/mobile/app/components/properties/index.js
+++ b/apps/mobile/app/components/properties/index.js
@@@ -89,44 -71,76 +89,45 @@@ export const Properties = (
maxHeight: "100%"
}}
>
- {!item || !item.id ? (
- <Paragraph style={{ marginVertical: 10, alignSelf: "center" }}>
- Start writing to save your note.
- </Paragraph>
- ) : (
- <View
- style={{
- marginTop: 5,
- zIndex: 10
- }}
- >
- <View
- style={{
- paddingHorizontal: 12
- }}
- >
- <Heading size={SIZE.lg}>
- {item.type === "tag" && !isColor ? (
- <Heading size={SIZE.xl} color={colors.accent}>
- #
- </Heading>
- ) : null}
- {alias}
+ <View
+ style={{
+ paddingHorizontal: 12,
+ marginTop: 5,
+ zIndex: 10
+ }}
+ >
+ <Heading size={SIZE.lg}>
+ {item.type === "tag" && !isColor ? (
+ <Heading size={SIZE.xl} color={colors.accent}>
+ #
</Heading>
+
- {item.headline || item.description ? (
- <Paragraph
- style={{
- marginBottom: 5
- }}
- color={colors.icon}
- >
- {(item.type === "notebook" ||
- item.itemType === "notebook" ||
- item.type === "reminder") &&
- item?.description
- ? item.description
- : null}
- {(item.type === "note" || item.itemType === "note") &&
- item?.headline
- ? item.headline
- : null}
- </Paragraph>
- ) : null}
-
- {item.type === "reminder" ? (
- <ReminderTime
- reminder={item}
- style={{
- justifyContent: "flex-start",
- borderWidth: 0,
- height: 30,
- alignSelf: "flex-start"
- }}
- fontSize={SIZE.xs + 1}
- />
- ) : null}
-
- {item.type === "note" ? <Tags close={close} item={item} /> : null}
-
- <Topics item={item} close={close} />
- </View>
-
- {item.type === "note" ? (
- <Notebooks note={item} close={close} />
) : null}
+ {alias}
+ </Heading>
- <DateMeta item={item} />
- </View>
- )}
+ {item.type === "note" ? <TagStrip close={close} item={item} /> : null}
+
+ {item.type === "reminder" ? (
+ <ReminderTime
+ reminder={item}
+ style={{
+ justifyContent: "flex-start",
+ borderWidth: 0,
+ height: 30,
+ alignSelf: "flex-start",
+ backgroundColor: "transparent",
+ paddingHorizontal: 0
+ }}
+ fontSize={SIZE.xs + 1}
+ />
+ ) : null}
+ </View>
+ <Line top={12} />
+
+ <DateMeta item={item} />
+ <Line bottom={0} />
+ {item.type === "note" ? <Tags close={close} item={item} /> : null}
<View
style={{