Skip to content

Commit

Permalink
Fix emoji picker returning
Browse files Browse the repository at this point in the history
  • Loading branch information
mikedilger committed Jan 14, 2025
1 parent d77c16d commit ba5fc92
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion gossip-bin/src/ui/feed/note/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -928,7 +928,10 @@ pub fn render_note_inside_framing(
if let Some(reaction) = note.our_reaction {
ui.label(RichText::new(reaction).size(16.0));
} else if can_sign {
let bar_id = ui.id().with("emoji_picker");
let bar_id = ui.id().with(format!(
"emoji_picker_{}",
note.event.id.as_hex_string()
));
let mut bar_state =
egui::menu::BarState::load(ui.ctx(), bar_id);

Expand Down

0 comments on commit ba5fc92

Please sign in to comment.