From 3d5fc2159175864819ce67fc041f9904873c2986 Mon Sep 17 00:00:00 2001 From: hiddify-com <114227601+hiddify-com@users.noreply.github.com> Date: Sun, 4 Aug 2024 16:45:02 +0200 Subject: [PATCH] formated export in json editor --- lib/features/profile/details/json_editor.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/features/profile/details/json_editor.dart b/lib/features/profile/details/json_editor.dart index 06fbdf36..5994ca00 100644 --- a/lib/features/profile/details/json_editor.dart +++ b/lib/features/profile/details/json_editor.dart @@ -459,7 +459,7 @@ class _JsonEditorState extends State { void copyData() async { await Clipboard.setData( - ClipboardData(text: jsonEncode(_data)), + ClipboardData(text: JsonEncoder.withIndent(' ').convert(_data)), ); }