Signed-off-by: dom <githubaccount56556@proton.me>
This commit is contained in:
dom
2026-03-31 16:57:12 +08:00
parent 2bbc97a950
commit ea4316a847

View File

@@ -181,21 +181,23 @@ class AuthorPanel extends StatelessWidget {
Positioned( Positioned(
top: 0, top: 0,
right: 0, right: 0,
height: height, bottom: 0,
child: CachedNetworkImage( child: Center(
height: height, child: CachedNetworkImage(
memCacheHeight: height.cacheSize(context), height: height,
imageUrl: ImageUtils.safeThumbnailUrl( memCacheHeight: height.cacheSize(context),
moduleAuthor.decorate!.cardUrl, imageUrl: ImageUtils.safeThumbnailUrl(
moduleAuthor.decorate!.cardUrl,
),
placeholder: (_, _) => const SizedBox.shrink(),
), ),
placeholder: (_, _) => const SizedBox.shrink(),
), ),
), ),
if (moduleAuthor.decorate!.fan?.numStr?.isNotEmpty == true) if (moduleAuthor.decorate!.fan?.numStr?.isNotEmpty == true)
Positioned( Positioned(
top: 0, top: 0,
bottom: 0,
right: height, right: height,
height: height,
child: Center( child: Center(
child: Text( child: Text(
moduleAuthor.decorate!.fan!.numStr!.toString(), moduleAuthor.decorate!.fan!.numStr!.toString(),