show live rank

Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
bggRGjQaUbCoE
2025-12-28 20:48:24 +08:00
parent a037d8e793
commit 2a52157c3f
24 changed files with 490 additions and 47 deletions

View File

@@ -46,13 +46,13 @@ Widget htmlRender({
);
}
final size = isEmote ? 22.0 : null;
return Hero(
tag: imgUrl,
child: GestureDetector(
onTap: () => PageUtils.imageView(
imgList: [SourceModel(url: imgUrl)],
quality: 60,
),
return GestureDetector(
onTap: () => PageUtils.imageView(
imgList: [SourceModel(url: imgUrl)],
quality: 60,
),
child: Hero(
tag: imgUrl,
child: CachedNetworkImage(
width: size,
height: size,

View File

@@ -220,14 +220,14 @@ class OpusContent extends StatelessWidget {
final height = width == null || pic.height == null
? null
: width * pic.height! / pic.width!;
return Hero(
tag: pic.url!,
child: GestureDetector(
onTap: () => PageUtils.imageView(
imgList: [SourceModel(url: pic.url!)],
quality: 60,
),
child: Center(
return GestureDetector(
onTap: () => PageUtils.imageView(
imgList: [SourceModel(url: pic.url!)],
quality: 60,
),
child: Center(
child: Hero(
tag: pic.url!,
child: CachedNetworkImage(
width: width,
height: height,