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

Commit

Permalink
Merge pull request #24 from larryonoff/bump-nuke-10.5
Browse files Browse the repository at this point in the history
Bump Nuke dependency to 10.5
  • Loading branch information
kean authored Oct 24, 2021
2 parents 3ebedef + a5b9bd5 commit d3cdddd
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 94 deletions.
2 changes: 1 addition & 1 deletion Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ let package = Package(
.library(name: "NukeUI", targets: ["NukeUI"])
],
dependencies: [
.package(url: "https://github.com/kean/Nuke.git", from: "10.3.0"),
.package(url: "https://github.com/kean/Nuke.git", from: "10.5.0"),
.package(url: "https://github.com/kaishin/Gifu", from: "3.0.0")
],
targets: [
Expand Down
3 changes: 0 additions & 3 deletions Sources/LazyImage.swift
Original file line number Diff line number Diff line change
Expand Up @@ -251,9 +251,6 @@ public struct LazyImage<Content: View>: View {
}

private func load(_ request: HashableRequest?) {
#if !os(watchOS)
ImageDecoders.Video.register()
#endif
model.load(request?.request)
}

Expand Down
4 changes: 0 additions & 4 deletions Sources/LazyImageView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -251,10 +251,6 @@ public final class LazyImageView: _PlatformBaseView {
private func load(_ request: ImageRequestConvertible?) {
assert(Thread.isMainThread, "Must be called from the main thread")

if imageView.isVideoRenderingEnabled {
ImageDecoders.Video.register()
}

cancel()

if isResetEnabled {
Expand Down
86 changes: 0 additions & 86 deletions Sources/VideoImageDecoder.swift

This file was deleted.

0 comments on commit d3cdddd

Please sign in to comment.