Revert "Add the ability to unlike posts"

This reverts commit 237c939639.
This commit is contained in:
William Casarin
2023-02-13 10:04:31 -08:00
parent f0df4aa218
commit 0e83632896
5 changed files with 7 additions and 59 deletions

View File

@@ -387,12 +387,6 @@ struct ContentView: View {
}
.onReceive(handle_notify(.like)) { like in
}
.onReceive(handle_notify(.delete)) { delete in
guard let ev = delete.object as? NostrEvent else {
return
}
self.home.handle_unlike_event(ev)
}
.onReceive(handle_notify(.deleted_account)) { notif in
self.is_deleted_account = true
}