mirror of
https://github.com/streetwriters/notesnook.git
synced 2025-12-23 15:09:33 +01:00
update move note dialog
This commit is contained in:
@@ -424,11 +424,10 @@ const MoveNoteComponent = ({close, note, setNote}) => {
|
|||||||
<View>
|
<View>
|
||||||
<Paragraph color={colors.heading}>
|
<Paragraph color={colors.heading}>
|
||||||
{item.title}
|
{item.title}
|
||||||
{'\n'}
|
</Paragraph>
|
||||||
<Paragraph color={colors.icon} size={SIZE.xs}>
|
<Paragraph color={colors.icon} size={SIZE.xs}>
|
||||||
{item.totalNotes + ' notes'}
|
{item.totalNotes + ' notes'}
|
||||||
</Paragraph>
|
</Paragraph>
|
||||||
</Paragraph>
|
|
||||||
</View>
|
</View>
|
||||||
{note?.notebooks?.findIndex(
|
{note?.notebooks?.findIndex(
|
||||||
(o) => o.topics.indexOf(item.id) > -1,
|
(o) => o.topics.indexOf(item.id) > -1,
|
||||||
@@ -436,8 +435,7 @@ const MoveNoteComponent = ({close, note, setNote}) => {
|
|||||||
<Button
|
<Button
|
||||||
onPress={() => handlePress(item, index)}
|
onPress={() => handlePress(item, index)}
|
||||||
title="Remove Note"
|
title="Remove Note"
|
||||||
type="accent"
|
type="error"
|
||||||
accentColor="red"
|
|
||||||
height={22}
|
height={22}
|
||||||
style={{
|
style={{
|
||||||
margin: 1,
|
margin: 1,
|
||||||
|
|||||||
@@ -189,6 +189,12 @@ export const BUTTON_TYPES = {
|
|||||||
selected: 'accent',
|
selected: 'accent',
|
||||||
opacity: 0.12,
|
opacity: 0.12,
|
||||||
},
|
},
|
||||||
|
error: {
|
||||||
|
primary: 'red',
|
||||||
|
text: 'red',
|
||||||
|
selected: 'red',
|
||||||
|
opacity: 0.12,
|
||||||
|
},
|
||||||
};
|
};
|
||||||
|
|
||||||
export function toTXT(data) {
|
export function toTXT(data) {
|
||||||
|
|||||||
Reference in New Issue
Block a user