diff --git a/src/views/mastoapi.nim b/src/views/mastoapi.nim index 18d0bef..e4e0497 100644 --- a/src/views/mastoapi.nim +++ b/src/views/mastoapi.nim @@ -18,7 +18,7 @@ proc formatTweetForMastoAPI*(tweet: Tweet, cfg: Config, prefs: Prefs): string = barLen = round((perc / 100) * 32).int bar = repeat("█", barLen) notBar = repeat(" ", 32 - barLen) - content &= &"{poll.options[i]} ({val}, {percStr})\n{bar}{notBar}\n" + content &= &"{poll.options[i]} ({insertSep($val, ',')}, {percStr})\n{bar}{notBar}\n" content &= &"\n{insertSep($poll.votes, ',')} votes • {poll.status}"