Skip to content

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

update move note dialog

ammarahm-edace48882549a
diff --git a/apps/mobile/src/components/MoveNoteDialog/index.js b/apps/mobile/src/components/MoveNoteDialog/index.js
index a1fa02997..4fd3f17dc 100644
--- a/apps/mobile/src/components/MoveNoteDialog/index.js
+++ b/apps/mobile/src/components/MoveNoteDialog/index.js
@@ -424,11 +424,10 @@ const MoveNoteComponent = ({close, note, setNote}) => {
<View>
<Paragraph color={colors.heading}>
{item.title}
- {'\n'}
- <Paragraph color={colors.icon} size={SIZE.xs}>
+ </Paragraph>
+ <Paragraph color={colors.icon} size={SIZE.xs}>
{item.totalNotes + ' notes'}
</Paragraph>
- </Paragraph>
</View>
{note?.notebooks?.findIndex(
(o) => o.topics.indexOf(item.id) > -1,
@@ -436,8 +435,7 @@ const MoveNoteComponent = ({close, note, setNote}) => {
<Button
onPress={() => handlePress(item, index)}
title="Remove Note"
- type="accent"
- accentColor="red"
+ type="error"
height={22}
style={{
margin: 1,
diff --git a/apps/mobile/src/utils/index.js b/apps/mobile/src/utils/index.js
index b781147b9..e58162724 100755
--- a/apps/mobile/src/utils/index.js
+++ b/apps/mobile/src/utils/index.js
@@ -189,6 +189,12 @@ export const BUTTON_TYPES = {
selected: 'accent',
opacity: 0.12,
},
+ error: {
+ primary: 'red',
+ text: 'red',
+ selected: 'red',
+ opacity: 0.12,
+ },
};
export function toTXT(data) {