Skip to main content

request_shared_text

Function request_shared_text 

Source
pub fn request_shared_text(text: &str, subject: Option<&str>)
Expand description

Platform intake for the share sheet: the shared text and the subject that came with it (a page title, a mail subject). The first web link in the text, else in the subject, goes to request_open_url; otherwise the text (the subject when the text is empty) goes to on_shared_text.