Focus chat input editor after signing in

This commit is contained in:
Antonio Scandurra
2021-09-07 13:57:30 +02:00
parent 09bb42c168
commit 058691d2b2
6 changed files with 78 additions and 51 deletions
+2 -2
View File
@@ -139,7 +139,7 @@ impl Client {
pub async fn authenticate_and_connect(
self: &Arc<Self>,
cx: AsyncAppContext,
cx: &AsyncAppContext,
) -> anyhow::Result<()> {
if self.state.read().connection_id.is_some() {
return Ok(());
@@ -176,7 +176,7 @@ impl Client {
self: &Arc<Self>,
user_id: u64,
conn: Conn,
cx: AsyncAppContext,
cx: &AsyncAppContext,
) -> anyhow::Result<()>
where
Conn: 'static