mirror of
https://github.com/taigrr/wtf
synced 2025-01-18 04:03:14 -08:00
Merge pull request #285 from anandsudhir/fix-alternate-row-color-config
Fix #282 - clocks doesn't change colour
This commit is contained in:
commit
ab6be6aa53
@ -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")
|
||||
|
Loading…
x
Reference in New Issue
Block a user