mirror of
https://github.com/taigrr/wtf
synced 2025-01-18 04:03:14 -08:00
WTF-400 Partial conversion to new Common settings
This commit is contained in:
@@ -24,11 +24,11 @@ func (widget *Widget) display() {
|
||||
maxLen := proj.LongestLine()
|
||||
|
||||
for index, item := range proj.tasks {
|
||||
foreColor, backColor := "white", wtf.Config.UString("wtf.colors.background", "black")
|
||||
foreColor, backColor := widget.settings.common.Colors.Text, widget.settings.common.Colors.Background
|
||||
|
||||
if index == proj.index {
|
||||
foreColor = wtf.Config.UString("wtf.colors.highlight.fore", "black")
|
||||
backColor = wtf.Config.UString("wtf.colors.highlight.back", "orange")
|
||||
foreColor = widget.settings.common.Colors.HighlightFore
|
||||
backColor = widget.settings.common.Colors.HighlightBack
|
||||
}
|
||||
|
||||
row := fmt.Sprintf(
|
||||
|
||||
Reference in New Issue
Block a user