Cast plan description to string

If it's a number, then zero doesn't display
probably because the library is checking for
truthy.
This commit is contained in:
Brandon Presley 2022-10-27 10:00:47 +13:00
parent 97827c68b2
commit cd602cee33

View File

@ -145,7 +145,7 @@ export default function StartPlan() {
description={ description={
settings.showSets settings.showSets
? `${item.total} / ${item.sets ?? 3}` ? `${item.total} / ${item.sets ?? 3}`
: item.total : item.total.toString()
} }
onPress={() => select(index)} onPress={() => select(index)}
left={() => ( left={() => (