fix: replyImg no show

This commit is contained in:
guozhigq
2023-07-26 12:12:53 +08:00
parent 4c3774996f
commit 9e9422a7e5
2 changed files with 1 additions and 2 deletions

View File

@ -146,8 +146,6 @@ class _ImagePreviewState extends State<ImagePreview>
], ],
), ),
); );
} else {
return const SizedBox();
} }
}, },
initGestureConfigHandler: (ExtendedImageState state) { initGestureConfigHandler: (ExtendedImageState state) {

View File

@ -653,6 +653,7 @@ InlineSpan buildContent(
List<Widget> list = []; List<Widget> list = [];
for (var i = 0; i < len; i++) { for (var i = 0; i < len; i++) {
picList.add(content.pictures[i]['img_src']); picList.add(content.pictures[i]['img_src']);
print(picList);
list.add( list.add(
LayoutBuilder( LayoutBuilder(
builder: (context, BoxConstraints box) { builder: (context, BoxConstraints box) {