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

Commit

Permalink
Deprecate DisappearBehavior.reset
Browse files Browse the repository at this point in the history
  • Loading branch information
kean committed Jan 27, 2022
1 parent 7eed0e5 commit c3bed08
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
## Upcoming

- Add `DisappearBehavior.lowerPriority` - [#33](https://github.com/kean/NukeUI/pull/33), thanks to [Peter Kurzok](https://github.com/pkurzok)
- Deprecate `DisappearBehavior.reset` (crashy)
- Add more options to control video: loop, finish callback – [#32](https://github.com/kean/NukeUI/pull/32), thanks to [Son Changwoo](https://github.com/kor45cw)
- Fix GIF playback when using customizing image view using `LazyImageState` - [#34](https://github.com/kean/NukeUI/issues/34)

Expand Down
3 changes: 1 addition & 2 deletions Sources/LazyImage.swift
Original file line number Diff line number Diff line change
Expand Up @@ -134,8 +134,7 @@ public struct LazyImage<Content: View>: View {
}

public enum DisappearBehavior {
/// Resets the image clearing all the used memory along with the
/// presentation state.
@available(*, deprecated, message: "Please use cancel instead.")
case reset
/// Cancels the current request but keeps the presentation state of
/// the already displayed image.
Expand Down

0 comments on commit c3bed08

Please sign in to comment.