Merge branch 'master' into local-relay-model
Logical merge errors fixed manually Changelog-None Signed-off-by: Daniel D’Aquino <daniel@daquino.me>
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
struct FavoriteNotify: Notify {
|
||||
typealias Payload = Void
|
||||
var payload: Void
|
||||
}
|
||||
|
||||
extension NotifyHandler {
|
||||
static var favoriteUpdated: NotifyHandler<FavoriteNotify> {
|
||||
.init()
|
||||
}
|
||||
}
|
||||
|
||||
extension Notifications {
|
||||
static func favoriteUpdated() -> Notifications<FavoriteNotify> {
|
||||
.init(.init(payload: ()))
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user