Remove unused code

Closes: #1105
This commit is contained in:
Bryan Montz
2023-05-07 14:13:06 -05:00
committed by William Casarin
parent 0da10eb716
commit 9847f12c95
105 changed files with 52 additions and 1873 deletions

View File

@@ -8,18 +8,9 @@
import Foundation
extension Notification.Name {
static var thread_focus: Notification.Name {
return Notification.Name("thread focus")
}
static var relays_changed: Notification.Name {
return Notification.Name("relays_changed")
}
static var select_event: Notification.Name {
return Notification.Name("select_event")
}
static var select_quote: Notification.Name {
return Notification.Name("select quote")
}
static var profile_updated: Notification.Name {
return Notification.Name("profile_updated")
}
@@ -29,24 +20,15 @@ extension Notification.Name {
static var liked: Notification.Name {
return Notification.Name("liked")
}
static var open_profile: Notification.Name {
return Notification.Name("open_profile")
}
static var scroll_to_top: Notification.Name {
return Notification.Name("scroll_to_to")
}
static var broadcast_event: Notification.Name {
return Notification.Name("broadcast event")
}
static var open_thread: Notification.Name {
return Notification.Name("open thread")
}
static var notice: Notification.Name {
return Notification.Name("notice")
}
static var like: Notification.Name {
return Notification.Name("like note")
}
static var delete: Notification.Name {
return Notification.Name("delete note")
}
@@ -56,9 +38,6 @@ extension Notification.Name {
static var compose: Notification.Name {
return Notification.Name("compose")
}
static var boost: Notification.Name {
return Notification.Name("boost")
}
static var boosted: Notification.Name {
return Notification.Name("boosted")
}
@@ -77,9 +56,6 @@ extension Notification.Name {
static var followed: Notification.Name {
return Notification.Name("followed")
}
static var chatroom_meta: Notification.Name {
return Notification.Name("chatroom_meta")
}
static var unfollowed: Notification.Name {
return Notification.Name("unfollowed")
}