mirror of
https://github.com/zontreck/NBTEditor
synced 2024-11-21 13:48:56 -07:00
Fix display of arrays.
This commit is contained in:
parent
f88b0f8378
commit
7393c76dd0
3 changed files with 9 additions and 3 deletions
|
@ -1 +1 @@
|
|||
const VERSION = "0.072124.0607";
|
||||
const VERSION = "0.072124.0628";
|
||||
|
|
|
@ -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,
|
||||
),
|
||||
|
|
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue