fix: object screen

This commit is contained in:
Rongjian Zhang 2019-09-30 19:28:46 +08:00
parent 0d164904f1
commit 87bb4d5513
1 changed files with 2 additions and 2 deletions

View File

@ -189,9 +189,9 @@ class ObjectScreen extends StatelessWidget {
bodyBuilder: (payload) {
switch (type) {
case 'tree':
return _buildTree(payload);
return _buildTree(payload.data);
case 'blob':
return _buildBlob(context, payload);
return _buildBlob(context, payload.data);
default:
return null;
}