commit 3b541f2ec1b5bbe459a3839fa9916d983cab6931
parent 80ea37a102cdb9cd29a9fafd77d12251a29dabb2
Author: William Casarin <jb55@jb55.com>
Date: Wed, 3 May 2023 06:36:42 -0700
Fix small bug in like counters
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/damus/Models/HomeModel.swift b/damus/Models/HomeModel.swift
@@ -277,8 +277,8 @@ class HomeModel: ObservableObject {
case .success(let n):
handle_notification(ev: ev)
let liked = Counted(event: ev, id: e.ref_id, total: n)
- //notify(.liked, liked)
- //notify(.update_stats, e.ref_id)
+ notify(.liked, liked)
+ notify(.update_stats, e.ref_id)
}
}