Add ability to copy url from post media previews

This commit is contained in:
Swift
2023-04-15 18:14:07 -04:00
committed by William Casarin
parent 02fc065005
commit 209b23674d
2 changed files with 12 additions and 3 deletions

View File

@@ -474,9 +474,9 @@ struct ContentView: View {
home.filter_muted()
}
.onReceive(handle_notify(.local_notification)) { notif in
let local = notif.object as! LossyLocalNotification
guard let damus_state else {
guard let local = notif.object as? LossyLocalNotification,
let damus_state else {
return
}