Fix display of arrays.

This commit is contained in:
zontreck 2024-07-21 06:29:19 -07:00
parent f88b0f8378
commit 7393c76dd0
3 changed files with 9 additions and 3 deletions

View file

@ -1 +1 @@
const VERSION = "0.072124.0607";
const VERSION = "0.072124.0628";

View file

@ -125,7 +125,13 @@ class EditorState extends State<Editor> {
),
body: TreeView(
nodeBuilder: (context, node) {
return TagExt.render(node.data as Tag, context, didChangeState);
if (node.data is Tag) {
return TagExt.render(node.data as Tag, context, didChangeState);
} else {
return ListTile(
title: Text("${node.label}"),
);
}
},
controller: controller,
),

View file

@ -1,7 +1,7 @@
name: nbteditor
description: A Minecraft NBT Editor written in Flutter
publish_to: 'none'
version: 0.072124.0607
version: 0.072124.0628
environment: