fix: android building error caused by trash crate

This commit is contained in:
Xerxes-2 2024-08-02 10:12:59 +10:00
parent 7a380c2f0f
commit 54644e159c
No known key found for this signature in database
GPG key ID: A6C508165D76B601

View file

@ -140,7 +140,7 @@ impl File {
{
trash::delete(&task.target)?;
}
Ok::<_, trash::Error>(())
Ok::<_, anyhow::Error>(())
})
.await??;
self.prog.send(TaskProg::Adv(task.id, 1, task.length))?;