Chris Cummer
b07f3c5e67
Reimpliments the module configuration validation
...
Now supports displaying errors from multiple widgets.
2019-07-07 16:04:43 -07:00
Kirill Motkov
f0771cd013
Some code improvements
...
* Some assignments simplified by using assignment operators
* Rewrite switch statement with only one case as if.
* Rewrite if-else chain as a switch statement.
* go fmt `modules/todoist/project.go` file.
2019-05-21 17:29:09 +03:00
Chris Cummer
accfa70ba5
Don't panic when there's no city data for Weather
2019-05-15 18:32:25 -07:00
Chris Cummer
075402315e
Fix missing title in Clocks
2019-05-10 08:42:37 -07:00
Chris Cummer
68ed842c87
Fix double-render of title in Weather
2019-05-10 08:42:37 -07:00
Sean Smith
018d2af3ae
Add a global Redraw method for TextWidget
...
Partially addresses #429 , by centralizing widget drawing
2019-05-10 08:42:37 -07:00
Chris Cummer
88fdf9702b
WTF-400 Move settings-related functions from util.go into common_settings.go
2019-04-21 21:35:45 -07:00
Chris Cummer
cfdfb044da
WTF-400 Weather extracted to new config format
2019-04-16 21:10:58 -07:00
Sean Smith
8030380f89
Migrate all modules to their own subfolder
...
Handles #375
2019-02-18 11:16:34 -05:00