mirror of
https://github.com/streetwriters/notesnook.git
synced 2025-12-23 06:59:31 +01:00
update move note dialog
This commit is contained in:
@@ -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,
|
||||
|
||||
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user