WIP: Load remote history

This commit is contained in:
Antonio Scandurra
2021-06-21 12:15:58 +02:00
parent f4d6fbe14f
commit 2905ce3ba7
5 changed files with 35 additions and 60 deletions
-4
View File
@@ -176,15 +176,11 @@ mod remote {
rpc: &rpc::Client,
cx: &mut AsyncAppContext,
) -> anyhow::Result<()> {
let payload = &request.payload;
dbg!(&payload.path);
rpc.respond(
request.receipt(),
proto::OpenBufferResponse { buffer: None },
)
.await?;
dbg!(cx.read(|app| app.root_view_id(1)));
Ok(())
}
}