Skip to content

Commit

Permalink
Fix broken subject (and content warning) ui
Browse files Browse the repository at this point in the history
  • Loading branch information
mikedilger committed Jan 20, 2025
1 parent 199be0b commit 382782b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions gossip-bin/src/ui/feed/post.rs
Original file line number Diff line number Diff line change
Expand Up @@ -766,15 +766,15 @@ fn real_posting_area(app: &mut GossipUi, ctx: &Context, ui: &mut Ui) {
let mut tags: Vec<Tag> = Vec::new();
if app.draft_data.include_content_warning {
tags.push(
ParsedTag::ContentWarning(Some(app.dm_draft_data.content_warning.clone()))
ParsedTag::ContentWarning(Some(app.draft_data.content_warning.clone()))
.into_tag(),
);
}
if let Some(delegatee_tag) = GLOBALS.delegation.get_delegatee_tag() {
tags.push(delegatee_tag);
}
if app.draft_data.include_subject {
tags.push(ParsedTag::Subject(app.dm_draft_data.subject.clone()).into_tag());
tags.push(ParsedTag::Subject(app.draft_data.subject.clone()).into_tag());
}
match app.draft_data.replying_to {
Some(replying_to_id) => {
Expand Down

0 comments on commit 382782b

Please sign in to comment.