Use shaka instead of heart.
This commit is contained in:
parent
bb680be9b7
commit
378af1dcac
4 changed files with 4 additions and 3 deletions
|
@ -196,7 +196,7 @@ function render_action_bar(model, ev, opts={}) {
|
|||
let { can_delete, shared } = opts;
|
||||
// TODO rewrite all of the toggle heart code. It's mine & I hate it.
|
||||
const thread_root = (ev.refs && ev.refs.root) || ev.id;
|
||||
const reaction = model_get_reacts_to(model, pubkey, ev.id, R_HEART);
|
||||
const reaction = model_get_reacts_to(model, pubkey, ev.id, R_SHAKA);
|
||||
const liked = !!reaction;
|
||||
const reaction_id = reaction ? reaction.id : "";
|
||||
let str = html`<div class="action-bar">`;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue