mirror of
https://github.com/taigrr/wtf
synced 2025-01-18 04:03:14 -08:00
Fixed typo
This commit is contained in:
parent
cf005c48f5
commit
934023ef1d
@ -47,10 +47,10 @@ func (widget *Widget) Refresh() {
|
||||
/* -------------------- Unexported Functions -------------------- */
|
||||
func contentFrom(positions *AllPositionsResponse) string {
|
||||
res := ""
|
||||
colorName := Config.USTRING("wtf.mods.blockfolio.colors.name")
|
||||
colorPrice := Config.USTRING("wtf.mods.blockfolio.colors.price")
|
||||
colorGrows := Config.USTRING("wtf.mods.blockfolio.colors.grows")
|
||||
colorDrop := Config.USTRING("wtf.mods.blockfolio.colors.drop")
|
||||
colorName := Config.UString("wtf.mods.blockfolio.colors.name")
|
||||
colorPrice := Config.UString("wtf.mods.blockfolio.colors.price")
|
||||
colorGrows := Config.UString("wtf.mods.blockfolio.colors.grows")
|
||||
colorDrop := Config.UString("wtf.mods.blockfolio.colors.drop")
|
||||
for i := 0; i < len(positions.PositionList); i++ {
|
||||
colorForChange := colorGrows
|
||||
if positions.PositionList[i].TwentyFourHourPercentChangeFiat <= 0 {
|
||||
|
Loading…
x
Reference in New Issue
Block a user