chore: cargo fmt

This commit is contained in:
Vukašin Vojinović 2026-02-17 20:37:56 +01:00 committed by Michael Murphy
parent 990e2e291b
commit cb288070af
3 changed files with 12 additions and 3 deletions

View file

@ -48,7 +48,11 @@ pub fn toggle_maximize<M>(id: window::Id) -> iced::Task<crate::Action<M>> {
}
#[cfg(feature = "xdg-portal")]
pub fn file_transfer_send(writeable: bool, auto_stop: bool, files: Vec<impl AsFd + Send + Sync + 'static>) -> iced::Task<ashpd::Result<String>> {
pub fn file_transfer_send(
writeable: bool,
auto_stop: bool,
files: Vec<impl AsFd + Send + Sync + 'static>,
) -> iced::Task<ashpd::Result<String>> {
iced::Task::future(async move {
let file_transfer = ashpd::documents::FileTransfer::new().await?;
let key = file_transfer.start_transfer(writeable, auto_stop).await?;