mirror of
https://github.com/taigrr/wtf
synced 2025-01-18 04:03:14 -08:00
Delete unused code block from main.go
This commit is contained in:
parent
cb3a0d5fc9
commit
5eb21d82b6
10
main.go
10
main.go
@ -342,16 +342,6 @@ func makeWidgets(app *tview.Application, pages *tview.Pages) []wtf.Wtfable {
|
||||
return widgets
|
||||
}
|
||||
|
||||
// // Check that all the loaded widgets are valid for display
|
||||
// func validateWidgets(widgets []wtf.Wtfable) {
|
||||
// for _, widget := range widgets {
|
||||
// if widget.Enabled() && !widget.IsPositionable() {
|
||||
// errStr := fmt.Sprintf("Widget config has invalid values: %s", widget.Key())
|
||||
// log.Fatalln(errStr)
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
|
||||
/* -------------------- Main -------------------- */
|
||||
|
||||
func main() {
|
||||
|
Loading…
x
Reference in New Issue
Block a user