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:
parent
97827c68b2
commit
cd602cee33
|
@ -145,7 +145,7 @@ export default function StartPlan() {
|
|||
description={
|
||||
settings.showSets
|
||||
? `${item.total} / ${item.sets ?? 3}`
|
||||
: item.total
|
||||
: item.total.toString()
|
||||
}
|
||||
onPress={() => select(index)}
|
||||
left={() => (
|
||||
|
|
Loading…
Reference in New Issue
Block a user