fix currencies widgets output

This commit is contained in:
Evgeny
2022-04-30 20:07:37 +03:00
parent 1b4cf9ecbc
commit afe93168b8
2 changed files with 7 additions and 7 deletions

View File

@@ -96,10 +96,10 @@ end
function get_formatted_change_text(change)
if change > 0 then
return "<font color=\""..green_color.."\"><small> +"..change.."%</small></font>"
return "<font color=\""..green_color.."\"><small>&nbsp+"..change.."%</small></font>"
elseif change < 0 then
return "<font color=\""..red_color.."\"><small> "..change.."%</small></font>"
return "<font color=\""..red_color.."\"><small>&nbsp"..change.."%</small></font>"
else
return "<font color=\""..text_color.."\"><small> "..change.."%</small></font>"
return "<font color=\""..text_color.."\"><small>&nbsp"..change.."%</small></font>"
end
end