Add function to set the scene storage's show

This commit is contained in:
david-swift 2024-09-19 13:11:54 +02:00
parent 1a5cc43ef1
commit bb1d946b4a

View File

@ -101,4 +101,10 @@ public actor SceneStorage {
self.destroy = destroy self.destroy = destroy
} }
/// Set the closure which shows the scene.
/// - Parameter show: The closure.
public func setShow(_ show: @Sendable @escaping () -> Void) {
self.show = show
}
} }