Skip to content

Commit 725f09d

Browse files
committed
Carry a screen's search field through the title sink
1 parent db4169e commit 725f09d

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

AndroidSwiftUICore/Sources/AndroidSwiftUICore/Evaluator.swift

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -112,6 +112,11 @@ public protocol _ResolutionEffectView {
112112
public final class TitleSink {
113113
public var title: String?
114114
public var detents: [PresentationDetent] = []
115+
/// A `searchable` declared inside the screen: current text, the string
116+
/// callback its field pushes to, and an optional placeholder prompt.
117+
public var searchText: String?
118+
public var searchCallbackID: Int64?
119+
public var searchPrompt: String?
115120
public init() {}
116121
}
117122

0 commit comments

Comments
 (0)