mirror of
https://github.com/groue/GRDB.swift
synced 2026-11-28 04:24:20 +00:00
GRDBCombineDemo: fix compiler error
This commit is contained in:
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.
|
||||
|
||||
Reference in new issue
Block a user