Add deep links for local notifications

Allow notifications to be clickable

Changelog-Added: Add deep links for local notifications
Co-authored-by: William Casarin <jb55@jb55.com>
Closes: #880
This commit is contained in:
Swift
2023-04-05 18:24:58 -04:00
committed by William Casarin
parent b5a3697d78
commit 05d332eac3
4 changed files with 58 additions and 22 deletions

View File

@@ -110,6 +110,9 @@ extension Notification.Name {
static var unmute_thread: Notification.Name {
return Notification.Name("unmute_thread")
}
static var local_notification: Notification.Name {
return Notification.Name("local_notification")
}
}
func handle_notify(_ name: Notification.Name) -> NotificationCenter.Publisher {