don't clear state when saving NowPlayingPage to pool for faster reloading from history

This commit is contained in:
Drew Weymouth
2024-05-26 13:39:43 -07:00
parent 38a7983b6f
commit 874c13b8d5
-6
View File
@@ -223,12 +223,6 @@ func (a *NowPlayingPage) Save() SavedPage {
a.imageLoadCancel()
}
nps := a.nowPlayingPageState
a.nowPlayingID = ""
a.nowPlaying = nil
a.curLyricsID = ""
a.curRelatedID = ""
a.queue = nil
a.related = nil
a.pool.Release(util.WidgetTypeNowPlayingPage, a)
return &nps
}