Add function to set the scene storage's show
This commit is contained in:
parent
1a5cc43ef1
commit
bb1d946b4a
@ -101,4 +101,10 @@ public actor SceneStorage {
|
||||
self.destroy = destroy
|
||||
}
|
||||
|
||||
/// Set the closure which shows the scene.
|
||||
/// - Parameter show: The closure.
|
||||
public func setShow(_ show: @Sendable @escaping () -> Void) {
|
||||
self.show = show
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user