Skip to content

Commit

Permalink
remove unused update channel in playingbar
Browse files Browse the repository at this point in the history
  • Loading branch information
tramhao committed May 27, 2021
1 parent 57075ff commit 42ea2ae
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions playingbar.go
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@ import (
type PlayingBar struct {
*tview.Frame
full int32
update chan struct{}
progress int32
skip bool
text *tview.TextView
Expand Down Expand Up @@ -57,9 +56,8 @@ func newPlayingBar() *PlayingBar {
frame.SetBackgroundColor(gomu.colors.background)

p := &PlayingBar{
Frame: frame,
text: textView,
update: make(chan struct{}),
Frame: frame,
text: textView,
}

return p
Expand Down

0 comments on commit 42ea2ae

Please sign in to comment.