mirror of
https://github.com/HChaZZY/PiliPlus.git
synced 2025-12-06 09:13:48 +08:00
opt: article blocked item
Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
@@ -356,7 +356,9 @@ Widget moduleBlockedItem(
|
||||
|
||||
if (moduleBlocked.blockedType == 1) {
|
||||
maxWidth = maxWidth <= 255 ? maxWidth : min(400, maxWidth * 0.8);
|
||||
return Container(
|
||||
return UnconstrainedBox(
|
||||
alignment: Alignment.centerLeft,
|
||||
child: Container(
|
||||
width: maxWidth,
|
||||
height: maxWidth,
|
||||
decoration: bgImg(),
|
||||
@@ -381,6 +383,7 @@ Widget moduleBlockedItem(
|
||||
],
|
||||
],
|
||||
),
|
||||
),
|
||||
);
|
||||
}
|
||||
return Container(
|
||||
|
||||
@@ -264,7 +264,7 @@ Widget forWard(
|
||||
: item.modules.moduleDynamic?.major?.blocked != null
|
||||
? _blockedItem(
|
||||
theme, item.modules.moduleDynamic!.major!.blocked!)
|
||||
: const SizedBox(height: 0);
|
||||
: const SizedBox.shrink();
|
||||
case 'DYNAMIC_TYPE_PGC':
|
||||
return videoSeasonWidget(theme, source, item, context, 'pgc',
|
||||
floor: floor);
|
||||
|
||||
Reference in New Issue
Block a user