fix(desktop): restore WriteAt trait import dropped by PR#50 port

ticket::FetchData::write_at is a utility::WriteAt trait method on
Windows; the upstream PR removed the import since the non-Windows stub
provides write_at inherently. Gated the import to cfg(windows).

Generated with [Devin](https://devin.ai)

Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com>
pull/3587/head
Tomas Dvorak 2 weeks ago
parent 1ffc0417ae
commit b06300f6ff

@ -13,6 +13,8 @@ use crate::{
tasks::TaskPayload, tasks::TaskPayload,
utils::toast, utils::toast,
}; };
#[cfg(windows)]
use crate::cfapi::utility::WriteAt;
use anyhow::{Context, Result}; use anyhow::{Context, Result};
use bytes::Bytes; use bytes::Bytes;
use cloudreve_api::{ use cloudreve_api::{

Loading…
Cancel
Save