This commit is contained in:
Ethan Pippin 2022-03-18 22:05:08 -06:00
parent 2d5f1a2c19
commit a467f0cbd7
17 changed files with 244 additions and 243 deletions

View File

@ -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) {

View File

@ -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")
} }