Skip to content
This repository has been archived by the owner on Oct 1, 2022. It is now read-only.

Commit

Permalink
Switch to the default DisappearBehavior to .cancel
Browse files Browse the repository at this point in the history
  • Loading branch information
kean committed Jan 27, 2022
1 parent 264ff19 commit 7eed0e5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Sources/LazyImage.swift
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ public struct LazyImage<Content: View>: View {
private var processors: [ImageProcessing]?
private var priority: ImageRequest.Priority?
private var pipeline: ImagePipeline = .shared
private var onDisappearBehavior: DisappearBehavior? = .reset
private var onDisappearBehavior: DisappearBehavior? = .cancel
private var onStart: ((_ task: ImageTask) -> Void)?
private var onProgress: ((_ response: ImageResponse?, _ completed: Int64, _ total: Int64) -> Void)?
private var onSuccess: ((_ response: ImageResponse) -> Void)?
Expand Down

0 comments on commit 7eed0e5

Please sign in to comment.