From 47dc87bad56ae9ab19003625ca4347273685ec18 Mon Sep 17 00:00:00 2001 From: Ani Channarasappa Date: Wed, 24 Feb 2021 17:41:42 -0500 Subject: [PATCH] fix: switch high and low in day range --- internal/ui/component/watchlist/watchlist.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/ui/component/watchlist/watchlist.go b/internal/ui/component/watchlist/watchlist.go index 2eff258..12652c0 100644 --- a/internal/ui/component/watchlist/watchlist.go +++ b/internal/ui/component/watchlist/watchlist.go @@ -216,7 +216,7 @@ func dayRangeText(high float64, low float64, isVariablePrecision bool) string { if high == 0.0 || low == 0.0 { return "" } - return StyleNeutralFaded("Day Range: ") + StyleNeutral(ConvertFloatToString(high, isVariablePrecision)+" - "+ConvertFloatToString(low, isVariablePrecision)) + return StyleNeutralFaded("Day Range: ") + StyleNeutral(ConvertFloatToString(low, isVariablePrecision)+" - "+ConvertFloatToString(high, isVariablePrecision)) } func exchangeDelayText(delay float64) string {