mirror of
https://github.com/priyanshujain/sanderling.git
synced 2026-10-02 19:17:10 +00:00
fix(folio-ios): register snapshot extractors before starting agent
SanderlingIos.start() was called before the snapshot objects were initialized, so a PAUSE message arriving early produced an empty snapshot. Move start() to after all extractors are registered.
This commit is contained in:
1 parent
b36167cf47
commit
0320edb91e
1 file changed
+1
-1
@@ -29,11 +29,11 @@ private val backGestureTarget = BackGestureTarget()
|
||||
@OptIn(ExperimentalForeignApi::class)
|
||||
fun MainViewController(): UIViewController {
|
||||
Repository.init()
|
||||
app.folio.sanderling.SanderlingIos.start()
|
||||
app.folio.sanderling.AuthSnapshots
|
||||
app.folio.sanderling.AccountSnapshots
|
||||
app.folio.sanderling.LedgerSnapshots
|
||||
app.folio.sanderling.NavigationSnapshots
|
||||
app.folio.sanderling.SanderlingIos.start()
|
||||
val vc = ComposeUIViewController { App() }
|
||||
val gesture = UIScreenEdgePanGestureRecognizer(
|
||||
target = backGestureTarget,
|
||||
|
||||
Reference in new issue
Block a user