opt: reply pic showing

This commit is contained in:
bggRGjQaUbCoE
2024-09-07 10:46:55 +08:00
parent 70cc762299
commit 72a59384b9
4 changed files with 26 additions and 12 deletions

View File

@@ -140,7 +140,8 @@ class _NineGridViewState extends State<NineGridView> {
double space = widget.space;
double itemW;
if (widget.type == NineGridType.weiBo &&
(itemCount == 1 || itemCount == 2 || itemCount == 4)) {
(itemCount == 1 || itemCount == 2)) {
// || itemCount == 4
itemW = (width - space) / 2;
} else {
itemW = (width - space * 2) / 3;