Skip to content

Commit 7ed9375

Browse files
committed
Fixed bad theme file
1 parent c2732a3 commit 7ed9375

File tree

2 files changed

+33
-14
lines changed

2 files changed

+33
-14
lines changed

main

0 Bytes
Binary file not shown.

redovc/theme.go

+33-14
Original file line numberDiff line numberDiff line change
@@ -339,20 +339,6 @@ func OrderColumns(showStatus bool, id string, completed string, info string, due
339339

340340
const themeTemplate = `
341341
{
342-
"Columns":
343-
[
344-
{
345-
"desc": "Column1 Desc",
346-
"columnname": "column1",
347-
"index":0
348-
},
349-
{
350-
"desc": "Column2 Desc",
351-
"columnname": "column2",
352-
"index":1
353-
}
354-
],
355-
356342
"Colors":
357343
[
358344
{
@@ -493,6 +479,39 @@ const themeTemplate = `
493479
"color": "green",
494480
"bold": true
495481
}
482+
],
483+
"Columns":
484+
[
485+
{
486+
"desc": "Task ID",
487+
"columnname": "id",
488+
"index":0
489+
},
490+
{
491+
"desc": "Completed column",
492+
"columnname": "completed",
493+
"index":1
494+
},
495+
{
496+
"desc": "Information - Priority, Note and Archived flags",
497+
"columnname": "information",
498+
"index":2
499+
},
500+
{
501+
"desc": "Task Due date",
502+
"columnname": "due",
503+
"index":3
504+
},
505+
{
506+
"desc": "Task status",
507+
"columnname": "status",
508+
"index":4
509+
},
510+
{
511+
"desc": "Task subject - Setting this to something other than index 5 could really mess up the screen",
512+
"columnname": "subject",
513+
"index":5
514+
}
496515
]
497516
}
498517
`

0 commit comments

Comments
 (0)