Skip to content

Commit

Permalink
Fix onStart
Browse files Browse the repository at this point in the history
  • Loading branch information
kean committed Apr 20, 2024
1 parent 2b55252 commit 8be9080
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Sources/NukeUI/LazyImage.swift
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ public struct LazyImage<Content: View>: View {

/// Gets called when the request is started.
public func onStart(_ closure: @escaping (ImageTask) -> Void) -> Self {
map { $0.viewModel.onStart = closure }
map { $0.onStart = closure }
}

/// Override the behavior on disappear. By default, the view is reset.
Expand Down

0 comments on commit 8be9080

Please sign in to comment.