Make update storage function on View public
This commit is contained in:
parent
e583e5a170
commit
b9cdec32c9
@ -51,7 +51,7 @@ extension View {
|
||||
/// - Parameters:
|
||||
/// - storage: The storage.
|
||||
/// - modifiers: Modify views before being updated.
|
||||
func updateStorage(_ storage: ViewStorage, modifiers: [(View) -> View]) {
|
||||
public func updateStorage(_ storage: ViewStorage, modifiers: [(View) -> View]) {
|
||||
let modified = getModified(modifiers: modifiers)
|
||||
if let widget = modified as? Widget {
|
||||
widget.update(storage, modifiers: modifiers)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user