Fix small bug in like counters
This commit is contained in:
@@ -277,8 +277,8 @@ class HomeModel: ObservableObject {
|
|||||||
case .success(let n):
|
case .success(let n):
|
||||||
handle_notification(ev: ev)
|
handle_notification(ev: ev)
|
||||||
let liked = Counted(event: ev, id: e.ref_id, total: n)
|
let liked = Counted(event: ev, id: e.ref_id, total: n)
|
||||||
//notify(.liked, liked)
|
notify(.liked, liked)
|
||||||
//notify(.update_stats, e.ref_id)
|
notify(.update_stats, e.ref_id)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user