Removed more layers of indirection from the engine package

This commit is contained in:
Deluan
2020-10-27 10:03:10 -04:00
parent acba4b16ee
commit 3037ea01e2
7 changed files with 182 additions and 307 deletions
+2 -1
View File
@@ -25,8 +25,9 @@ func initBrowsingController(router *Router) *BrowsingController {
}
func initAlbumListController(router *Router) *AlbumListController {
dataStore := router.DataStore
listGenerator := router.ListGenerator
albumListController := NewAlbumListController(listGenerator)
albumListController := NewAlbumListController(dataStore, listGenerator)
return albumListController
}