mirror of
https://github.com/mikedilger/gossip.git
synced 2024-09-29 08:21:47 +00:00
Open draft area when entering DM channel
This commit is contained in:
parent
c2952c7f41
commit
50f4614f0a
@ -55,7 +55,12 @@ pub(super) fn update(app: &mut GossipUi, _ctx: &Context, _frame: &mut eframe::Fr
|
||||
)
|
||||
.clicked()
|
||||
{
|
||||
app.set_page(Page::Feed(FeedKind::DmChat(channeldata.dm_channel)));
|
||||
app.set_page(Page::Feed(FeedKind::DmChat(channeldata.dm_channel.clone())));
|
||||
app.replying_to = None;
|
||||
app.draft_repost = None;
|
||||
app.show_post_area = true;
|
||||
app.draft_dm_channel = Some(channeldata.dm_channel);
|
||||
app.draft_needs_focus = false;
|
||||
}
|
||||
});
|
||||
ui.add_space(20.0);
|
||||
|
Loading…
Reference in New Issue
Block a user