GRDBCombineDemo: fix compiler error

This commit is contained in:
Gwendal Roué committed 2020-09-20 15:27:10 +02:00
1 parent 0ac7e2d299
commit 613baf30f9
1 file changed
+1 -1
@@ -10,7 +10,7 @@ class SceneDelegate: UIResponder, UIWindowSceneDelegate {
// This delegate does not imply the connecting scene or session are new (see `application:configurationForConnectingSceneSession` instead).
// Create the SwiftUI view that provides the window contents.
let viewModel = PlayerListViewModel(database: Current.database())
let viewModel = PlayerListViewModel(database: AppDatabase.shared)
let rootView = PlayerList(viewModel: viewModel)
// Use a UIHostingController as window root view controller.