mirror of
https://github.com/streetwriters/notesnook.git
synced 2025-12-22 22:49:45 +01:00
fix move note dialog
This commit is contained in:
@@ -137,7 +137,7 @@ const IntComponent = ({close, note, setNote}) => {
|
|||||||
newTopicTitle = null;
|
newTopicTitle = null;
|
||||||
};
|
};
|
||||||
|
|
||||||
const handlePress = async () => {
|
const handlePress = async (item,index) => {
|
||||||
if (
|
if (
|
||||||
note?.notebooks?.findIndex(
|
note?.notebooks?.findIndex(
|
||||||
(o) =>
|
(o) =>
|
||||||
@@ -398,7 +398,7 @@ const IntComponent = ({close, note, setNote}) => {
|
|||||||
}
|
}
|
||||||
renderItem={({item, index}) => (
|
renderItem={({item, index}) => (
|
||||||
<PressableButton
|
<PressableButton
|
||||||
onPress={handlePress}
|
onPress={() => handlePress(item,index)}
|
||||||
type="gray"
|
type="gray"
|
||||||
customStyle={{
|
customStyle={{
|
||||||
height: 50,
|
height: 50,
|
||||||
|
|||||||
Reference in New Issue
Block a user