Compare commits

...

1 Commits

Author SHA1 Message Date
ammarahm-ed
8662e837ad mobile: fix crash when data is null in list 2023-04-15 02:01:47 +05:00

View File

@@ -218,12 +218,14 @@ const List = ({
}
/>
</Animated.View>
<JumpToSectionDialog
screen={screen}
data={listData}
type={screen === "Notes" ? "home" : type}
scrollRef={scrollRef}
/>
{listData ? (
<JumpToSectionDialog
screen={screen}
data={listData}
type={screen === "Notes" ? "home" : type}
scrollRef={scrollRef}
/>
) : null}
</>
);
};