mirror of
https://github.com/streetwriters/notesnook.git
synced 2025-12-23 06:59:31 +01:00
mobile: fix crash on opening sheet with icon
This commit is contained in:
@@ -131,7 +131,7 @@ const SheetProvider = ({ context = "global" }) => {
|
||||
|
||||
{data?.icon ? (
|
||||
<Icon
|
||||
color={colors[dialogData.iconColor] || colors.primary.accent}
|
||||
color={colors[data.iconColor] || colors.primary.accent}
|
||||
name={data.icon}
|
||||
size={50}
|
||||
/>
|
||||
|
||||
Reference in New Issue
Block a user