fix(event_info_dialog): format message info string
This commit is contained in:
parent
11289c6267
commit
4dd85903c0
1 changed files with 4 additions and 1 deletions
|
|
@ -75,7 +75,10 @@ class EventInfoDialog extends StatelessWidget {
|
|||
icon: const Icon(Icons.copy),
|
||||
onPressed: () {
|
||||
Clipboard.setData(
|
||||
ClipboardData(text: event.toJson().toString()));
|
||||
ClipboardData(
|
||||
text: prettyJson(event),
|
||||
),
|
||||
);
|
||||
ScaffoldMessenger.of(context).showSnackBar(
|
||||
SnackBar(
|
||||
content: Text(L10n.of(context).copiedToClipboard),
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue