19 lines
388 B
Swift
19 lines
388 B
Swift
//
|
|
// https://mczachurski.dev
|
|
// Copyright © 2023 Marcin Czachurski and the repository contributors.
|
|
// Licensed under the MIT License.
|
|
//
|
|
|
|
import Foundation
|
|
import Nuke
|
|
import NukeUI
|
|
|
|
extension LazyImageState {
|
|
public var imageResponse: ImageResponse? {
|
|
if case .success(let imageResponse) = result {
|
|
return imageResponse
|
|
}
|
|
return nil
|
|
}
|
|
}
|