lint
This commit is contained in:
parent
2d5f1a2c19
commit
a467f0cbd7
|
@ -48,7 +48,7 @@ enum Notifications {
|
||||||
}
|
}
|
||||||
|
|
||||||
static subscript(key: Key) -> SwiftfinNotification {
|
static subscript(key: Key) -> SwiftfinNotification {
|
||||||
return key.underlyingNotification
|
key.underlyingNotification
|
||||||
}
|
}
|
||||||
|
|
||||||
static func unsubscribe(_ observer: Any) {
|
static func unsubscribe(_ observer: Any) {
|
||||||
|
|
|
@ -14,7 +14,7 @@ struct BlurHashView: UIViewRepresentable {
|
||||||
let blurHash: String
|
let blurHash: String
|
||||||
|
|
||||||
func makeUIView(context: Context) -> UIBlurHashView {
|
func makeUIView(context: Context) -> UIBlurHashView {
|
||||||
return UIBlurHashView(blurHash)
|
UIBlurHashView(blurHash)
|
||||||
}
|
}
|
||||||
|
|
||||||
func updateUIView(_ uiView: UIBlurHashView, context: Context) {}
|
func updateUIView(_ uiView: UIBlurHashView, context: Context) {}
|
||||||
|
@ -48,6 +48,7 @@ class UIBlurHashView: UIView {
|
||||||
])
|
])
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@available(*, unavailable)
|
||||||
required init?(coder: NSCoder) {
|
required init?(coder: NSCoder) {
|
||||||
fatalError("init(coder:) has not been implemented")
|
fatalError("init(coder:) has not been implemented")
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue