fix image grid

Signed-off-by: dom <githubaccount56556@proton.me>
This commit is contained in:
dom
2026-01-15 16:40:44 +08:00
parent bdc524e486
commit 90349189ee
5 changed files with 11 additions and 15 deletions

View File

@@ -234,11 +234,7 @@ class LiveRoomChatPanel extends StatelessWidget {
src: uemote.url,
type: ImageType.emote,
width: isUpower ? uemote.width : uemote.width / devicePixelRatio,
height: uemote.height == null
? null
: isUpower
? uemote.height!
: uemote.height! / devicePixelRatio,
height: isUpower ? uemote.height : uemote.height / devicePixelRatio,
),
);
}

View File

@@ -1602,7 +1602,7 @@ class _VideoDetailPageVState extends State<VideoDetailPageV>
src: videoDetailController.cover.value,
width: width,
height: height,
forceUseCacheWidth: true,
cacheWidth: true,
getPlaceHolder: () => Center(
child: Image.asset('assets/images/loading.png'),
),