feat: add support for opening links
This commit is contained in:
1 parent
65c9036ec9
commit
4383573c8e
3 files changed
+278
-1
No files matched your search
+1
-1
@@ -17,7 +17,7 @@ pub fn switch_tab(state: &mut State, index: usize) -> Task<Message> {
|
||||
}
|
||||
|
||||
pub fn link_clicked(url: String) -> Task<Message> {
|
||||
println!("Opening link: {}", url);
|
||||
let _ = webbrowser::open(&url);
|
||||
Task::none()
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user