Show "sign in" prompt when opening the chat panel while signed out

This commit is contained in:
Antonio Scandurra 2021-09-07 12:27:43 +02:00
parent a8011fcde4
commit 09bb42c168
5 changed files with 55 additions and 11 deletions

View file

@ -376,6 +376,7 @@ impl Workspace {
"icons/comment-16.svg",
cx.add_view(|cx| {
ChatPanel::new(
app_state.rpc.clone(),
app_state.channel_list.clone(),
app_state.settings.clone(),
cx,