go back go Go 1.21 min - we are using generics not supported in earlier versions

This commit is contained in:
Drew Weymouth
2024-05-26 09:03:40 -07:00
parent c4e7dd07ca
commit a3292bf9ee
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -1,6 +1,6 @@
module github.com/dweymouth/supersonic
go 1.19
go 1.21
require (
fyne.io/fyne/v2 v2.5.0
+1 -1
View File
@@ -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))