feat: fixed receipts

This commit is contained in:
Nick 2024-12-19 01:43:02 -06:00
parent 2295c85fca
commit 97b9223223
18 changed files with 185 additions and 102 deletions

View file

@ -263,7 +263,6 @@ articleMaker article =
, spacing 3
, F.regular
, F.alignLeft
, F.size 16
, paddingEach
{ top = 8
, bottom = 0
@ -313,7 +312,7 @@ articleRows article =
, infoRow "Duration:" (String.fromInt (wordCount article.articleBody // 225) ++ " minutes")
, infoRow "Words:" (String.fromInt (wordCount article.articleBody))
]
++ (if referenceCount > 2 then
++ (if referenceCount >= 2 then
[ infoRow "Sources:" (String.fromInt referenceCount) ]
else