go back go Go 1.21 min - we are using generics not supported in earlier versions
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
module github.com/dweymouth/supersonic
|
||||
|
||||
go 1.19
|
||||
go 1.21
|
||||
|
||||
require (
|
||||
fyne.io/fyne/v2 v2.5.0
|
||||
|
||||
@@ -50,7 +50,7 @@ func (l *LyricsViewer) SetLyrics(lyrics *mediaprovider.Lyrics) {
|
||||
|
||||
if l.viewer == nil {
|
||||
l.viewer = fynelyrics.NewLyricsViewer()
|
||||
l.viewer.ActiveLyricPosition = fynelyrics.ActiveLyricPositionTopThird
|
||||
l.viewer.ActiveLyricPosition = fynelyrics.ActiveLyricPositionMiddle
|
||||
l.viewer.InactiveLyricColorName = theme.ColorNameInactiveLyric
|
||||
}
|
||||
lines := make([]string, len(lyrics.Lines))
|
||||
|
||||
Reference in New Issue
Block a user