fix(ioscompanion): treat unresolved bridge values as transitional, never as content

This commit is contained in:
pj committed 2026-06-07 00:33:27 +05:30
1 parent a15e7a14f9
commit 8526c491e8
2 files changed
+11

No files matched your search

+6
View File
@@ -594,6 +594,12 @@ func (d *Driver) WaitForIdle(ctx context.Context, _ time.Duration) error {
if err != nil {
return nil
}
// Unresolved bridge values mean the tree is mid-update; report the
// snapshot transitional so the streak resets instead of declaring a
// half-readable screen stable.
if hasUnresolvedValues(dump) {
return nil
}
mapped, err := MapHierarchy(dump, d.screenWidth, d.screenHeight)
if err != nil {
return nil