mirror of
https://github.com/taigrr/wtf
synced 2025-01-18 04:03:14 -08:00
Renormalize the redraw function
Have all instances take a function Update the remaining modules to take this into account Numerous smaller refactors to make some widgets work more or less the same
This commit is contained in:
@@ -154,7 +154,7 @@ func (w *Widget) refreshSpotifyInfos() error {
|
||||
|
||||
// Refresh refreshes the current view of the widget
|
||||
func (w *Widget) Refresh() {
|
||||
w.RedrawFunc(w.createOutput)
|
||||
w.Redraw(w.createOutput)
|
||||
}
|
||||
|
||||
func (widget *Widget) HelpText() string {
|
||||
|
||||
Reference in New Issue
Block a user