Only add Image tag to SetItem if an image exists
This commit is contained in:
parent
d7330067bb
commit
aac8bba4ec
|
@ -65,7 +65,8 @@ export default function SetItem({
|
|||
description={`${item.reps} x ${item.weight}${item.unit || 'kg'}`}
|
||||
onLongPress={longPress}
|
||||
left={() =>
|
||||
images && (
|
||||
images &&
|
||||
item.image && (
|
||||
<Image source={{uri: item.image}} style={{height: 75, width: 75}} />
|
||||
)
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user