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 -------------------- */
|
/* -------------------- Unexported Functions -------------------- */
|
||||||
func contentFrom(positions *AllPositionsResponse) string {
|
func contentFrom(positions *AllPositionsResponse) string {
|
||||||
res := ""
|
res := ""
|
||||||
colorName := Config.USTRING("wtf.mods.blockfolio.colors.name")
|
colorName := Config.UString("wtf.mods.blockfolio.colors.name")
|
||||||
colorPrice := Config.USTRING("wtf.mods.blockfolio.colors.price")
|
colorPrice := Config.UString("wtf.mods.blockfolio.colors.price")
|
||||||
colorGrows := Config.USTRING("wtf.mods.blockfolio.colors.grows")
|
colorGrows := Config.UString("wtf.mods.blockfolio.colors.grows")
|
||||||
colorDrop := Config.USTRING("wtf.mods.blockfolio.colors.drop")
|
colorDrop := Config.UString("wtf.mods.blockfolio.colors.drop")
|
||||||
for i := 0; i < len(positions.PositionList); i++ {
|
for i := 0; i < len(positions.PositionList); i++ {
|
||||||
colorForChange := colorGrows
|
colorForChange := colorGrows
|
||||||
if positions.PositionList[i].TwentyFourHourPercentChangeFiat <= 0 {
|
if positions.PositionList[i].TwentyFourHourPercentChangeFiat <= 0 {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user