From cd602cee33ac6e657c49288d779fd1416d688999 Mon Sep 17 00:00:00 2001 From: Brandon Presley Date: Thu, 27 Oct 2022 10:00:47 +1300 Subject: [PATCH] Cast plan description to string If it's a number, then zero doesn't display probably because the library is checking for truthy. --- StartPlan.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/StartPlan.tsx b/StartPlan.tsx index 86af8995..38ea19b6 100644 --- a/StartPlan.tsx +++ b/StartPlan.tsx @@ -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={() => (