mirror of
https://github.com/zed-industries/zed.git
synced 2025-01-16 15:11:25 +00:00
Use copy button for copy channel link
This commit is contained in:
parent
10b015cdf0
commit
9a36402fbe
1 changed files with 1 additions and 1 deletions
|
@ -2287,7 +2287,7 @@ impl CollabPanel {
|
|||
let button = match section {
|
||||
Section::ActiveCall => channel_link.map(|channel_link| {
|
||||
let channel_link_copy = channel_link.clone();
|
||||
IconButton::new("channel-link", Icon::Check)
|
||||
IconButton::new("channel-link", Icon::Copy)
|
||||
.on_click(move |_, cx| {
|
||||
let item = ClipboardItem::new(channel_link_copy.clone());
|
||||
cx.write_to_clipboard(item)
|
||||
|
|
Loading…
Reference in a new issue