mirror of
https://github.com/taigrr/wtf
synced 2025-01-18 04:03:14 -08:00
Clean up a bunch of if statements based on govet results
This commit is contained in:
@@ -15,9 +15,9 @@ type ChecklistItem struct {
|
||||
func (item *ChecklistItem) CheckMark() string {
|
||||
if item.Checked {
|
||||
return wtf.Config.UString("wtf.mods.todo.checkedIcon", "x")
|
||||
} else {
|
||||
return " "
|
||||
}
|
||||
|
||||
return " "
|
||||
}
|
||||
|
||||
// Toggle changes the checked state of the ChecklistItem
|
||||
|
||||
Reference in New Issue
Block a user