reuse grid view across several pages

This commit is contained in:
Drew Weymouth
2023-07-09 14:14:23 -07:00
parent be41bdc72c
commit 203070328c
11 changed files with 116 additions and 30 deletions
+1 -1
View File
@@ -78,7 +78,7 @@ func newAlbumPage(
},
}
a.ExtendBaseWidget(a)
if h := a.pool.Obtain(util.WidgetTypeAlbumPageHeader); h != nil {
if h := pool.Obtain(util.WidgetTypeAlbumPageHeader); h != nil {
a.header = h.(*AlbumPageHeader)
a.header.Clear()
} else {