Skip to content

Commit fa947a1

Browse files
sarafarajnasardignprice
authored andcommitted
lightbox: Use Zulip copy icon for "Copy link" button
Replace the generic Icons.copy with ZulipIcons.copy for the "Copy link" button in the lightbox UI. This matches the icon used in the message action sheet's "Copy message text" button and follows our Figma designs. Fixes: #2014
1 parent 195c2ea commit fa947a1

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

lib/widgets/lightbox.dart

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ import 'message_list.dart';
1616
import 'page.dart';
1717
import 'store.dart';
1818
import 'user.dart';
19+
import 'icons.dart';
1920

2021
/// Identifies which [LightboxHero]s should match up with each other
2122
/// to produce a hero animation.
@@ -104,7 +105,7 @@ class _CopyLinkButton extends StatelessWidget {
104105
final zulipLocalizations = ZulipLocalizations.of(context);
105106
return IconButton(
106107
tooltip: zulipLocalizations.lightboxCopyLinkTooltip,
107-
icon: const Icon(Icons.copy),
108+
icon: const Icon(ZulipIcons.copy),
108109
onPressed: () async {
109110
PlatformActions.copyWithPopup(context: context,
110111
successContent: Text(zulipLocalizations.successLinkCopied),

0 commit comments

Comments
 (0)