Use copy button for copy channel link (#3589)

Release Notes:

- N/A
This commit is contained in:
Joseph T. Lyons
2023-12-11 13:22:36 -05:00
committed by GitHub
+1 -1
View File
@@ -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)