diff --git a/lib/widgets/previewer_json.dart b/lib/widgets/previewer_json.dart index a437f1df..ee3da753 100644 --- a/lib/widgets/previewer_json.dart +++ b/lib/widgets/previewer_json.dart @@ -180,16 +180,6 @@ class _JsonPreviewerState extends State { mainAxisAlignment: MainAxisAlignment.end, children: constraints.minWidth > kMinWindowSize.width ? [ - TextButton( - onPressed: () async { - await _copy( - kJsonEncoder.convert(widget.code), sm); - }, - child: const Text( - 'Copy', - style: kTextStyleButtonSmall, - ), - ), TextButton( onPressed: state.areAllExpanded() ? null @@ -210,19 +200,6 @@ class _JsonPreviewerState extends State { ), ] : [ - IconButton( - tooltip: "Copy", - color: Theme.of(context).colorScheme.primary, - visualDensity: VisualDensity.compact, - onPressed: () async { - await _copy( - kJsonEncoder.convert(widget.code), sm); - }, - icon: const Icon( - Icons.copy, - size: 16, - ), - ), IconButton( tooltip: "Expand All", color: Theme.of(context).colorScheme.primary,