Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Fix
  • Loading branch information
Andrew committed Jun 9, 2018
1 parent 82e81b9 commit 71364c9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion blockfolio/widget.go
Expand Up @@ -50,7 +50,8 @@ func contentFrom(positions *AllPositionsResponse) string {
colorName := Config.UString("wtf.mods.blockfolio.colors.name")
colorGrows := Config.UString("wtf.mods.blockfolio.colors.grows")
colorDrop := Config.UString("wtf.mods.blockfolio.colors.drop")
totalFiat := 0.0
var totalFiat float32
totalFiat = 0.0
for i := 0; i < len(positions.PositionList); i++ {
colorForChange := colorGrows
if positions.PositionList[i].TwentyFourHourPercentChangeFiat <= 0 {
Expand Down

0 comments on commit 71364c9

Please sign in to comment.