fix bug with not resetting page reference when reusing headers

This commit is contained in:
Drew Weymouth
2023-07-09 16:52:08 -07:00
parent 203070328c
commit a86a81f1e6
3 changed files with 3 additions and 0 deletions
+1
View File
@@ -80,6 +80,7 @@ func newAlbumPage(
a.ExtendBaseWidget(a)
if h := pool.Obtain(util.WidgetTypeAlbumPageHeader); h != nil {
a.header = h.(*AlbumPageHeader)
a.header.page = a
a.header.Clear()
} else {
a.header = NewAlbumPageHeader(a)