fix formatting
This commit is contained in:
@@ -46,13 +46,12 @@ impl ContextMenu {
|
|||||||
v.push_view(view)
|
v.push_view(view)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
ContextMenuAction::ShareUrl(url) => {
|
ContextMenuAction::ShareUrl(url) =>
|
||||||
#[cfg(feature = "share_clipboard")]
|
#[cfg(feature = "share_clipboard")]
|
||||||
{
|
{
|
||||||
ClipboardProvider::new()
|
ClipboardProvider::new()
|
||||||
.and_then(|mut ctx: ClipboardContext| ctx.set_contents(url.to_string()))
|
.and_then(|mut ctx: ClipboardContext| ctx.set_contents(url.to_string()))
|
||||||
.ok();
|
.ok();
|
||||||
}
|
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user