[create-pull-request] automated change
This commit is contained in:
parent
3f8e3b4fbb
commit
114c9c661c
|
@ -13,16 +13,16 @@ import NukeUI
|
||||||
struct ImageView: View {
|
struct ImageView: View {
|
||||||
private var source: URL = URL(string: "https://example.com")!
|
private var source: URL = URL(string: "https://example.com")!
|
||||||
private var blurhash: String = "001fC^"
|
private var blurhash: String = "001fC^"
|
||||||
|
|
||||||
init(src: URL) {
|
init(src: URL) {
|
||||||
self.source = src
|
self.source = src
|
||||||
}
|
}
|
||||||
|
|
||||||
init(src: URL, bh: String) {
|
init(src: URL, bh: String) {
|
||||||
self.source = src
|
self.source = src
|
||||||
self.blurhash = bh
|
self.blurhash = bh
|
||||||
}
|
}
|
||||||
|
|
||||||
var body: some View {
|
var body: some View {
|
||||||
LazyImage(source: source, content: { state in
|
LazyImage(source: source, content: { state in
|
||||||
if let image = state.image {
|
if let image = state.image {
|
||||||
|
|
Loading…
Reference in New Issue