Fix #172: properly set Favorites page view state on restoring from history

This commit is contained in:
Drew Weymouth
2023-05-22 21:18:33 -07:00
parent 31901102f1
commit 1686c563fe
+1
View File
@@ -110,6 +110,7 @@ func restoreFavoritesPage(saved *savedFavoritesPage) *FavoritesPage {
if saved.searchText != "" {
a.searchGrid = widgets.NewGridViewFromState(saved.searchGridState)
}
a.toggleBtns.SetActivatedButton(saved.activeToggleBtn)
if saved.activeToggleBtn == 1 {
a.onShowFavoriteArtists()