Start an immediate observation

In the iOS 26 simulator the demo app would show a flash of missing content.
This commit is contained in:
Gwendal Roué committed 2025-09-10 07:12:53 +02:00
1 parent 1a3842e4bc
commit 7ec88b76e0
1 file changed
+1 -1
@@ -56,7 +56,7 @@ import GRDB
// Start observing the database.
// Previous observation, if any, is cancelled.
cancellable = observation.start(in: appDatabase.reader) { error in
cancellable = observation.start(in: appDatabase.reader, scheduling: .immediate) { error in
// Handle error
} onChange: { [unowned self] players in
self.players = players