Implement most core actions
This commit is contained in:
parent
ec16e70336
commit
ee4957dd47
12 changed files with 570 additions and 315 deletions
|
@ -2112,6 +2112,10 @@ impl AppContext {
|
|||
AsyncAppContext(self.weak_self.as_ref().unwrap().upgrade().unwrap())
|
||||
}
|
||||
|
||||
pub fn open_url(&self, url: &str) {
|
||||
self.platform.open_url(url)
|
||||
}
|
||||
|
||||
pub fn write_to_clipboard(&self, item: ClipboardItem) {
|
||||
self.platform.write_to_clipboard(item);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue