1
0
mirror of https://github.com/taigrr/wtf synced 2025-01-18 04:03:14 -08:00

Fix #282 - clocks doesn't change colour

This commit is contained in:
Anand Sudhir Prayaga 2018-08-07 12:18:31 +02:00
parent de4e1e38dc
commit 8f06f65a26

View File

@ -121,8 +121,8 @@ func DefaultFocussedRowColor() string {
}
func RowColor(module string, idx int) string {
evenKey := fmt.Sprintf("wtf.mods.%s.colors.row.even", module)
oddKey := fmt.Sprintf("wtf.mods.%s.colors.row.odd", module)
evenKey := fmt.Sprintf("wtf.mods.%s.colors.rows.even", module)
oddKey := fmt.Sprintf("wtf.mods.%s.colors.rows.odd", module)
if idx%2 == 0 {
return Config.UString(evenKey, "white")