mirror of
https://github.com/bggRGjQaUbCoE/PiliPlus.git
synced 2026-06-08 20:14:51 +08:00
@@ -11,7 +11,6 @@ import 'package:PiliPlus/pages/search_trending/controller.dart';
|
||||
import 'package:PiliPlus/utils/color_utils.dart';
|
||||
import 'package:PiliPlus/utils/extension/context_ext.dart';
|
||||
import 'package:PiliPlus/utils/extension/get_ext.dart';
|
||||
import 'package:PiliPlus/utils/extension/num_ext.dart';
|
||||
import 'package:PiliPlus/utils/extension/size_ext.dart';
|
||||
import 'package:PiliPlus/utils/image_utils.dart';
|
||||
import 'package:cached_network_image/cached_network_image.dart';
|
||||
@@ -86,7 +85,7 @@ class _SearchTrendingPageState extends State<SearchTrendingPage> {
|
||||
child: Image.asset(
|
||||
width: width,
|
||||
height: height,
|
||||
cacheWidth: width.cacheSize(context),
|
||||
cacheWidth: width,
|
||||
Assets.trendingBanner,
|
||||
filterQuality: FilterQuality.low,
|
||||
),
|
||||
@@ -208,7 +207,7 @@ class _SearchTrendingPageState extends State<SearchTrendingPage> {
|
||||
const SizedBox(width: 4),
|
||||
CachedNetworkImage(
|
||||
height: 16,
|
||||
memCacheHeight: 16.cacheSize(context),
|
||||
memCacheHeight: 16,
|
||||
imageUrl: ImageUtils.thumbnailUrl(item.icon!),
|
||||
placeholder: (_, _) => const SizedBox.shrink(),
|
||||
),
|
||||
@@ -218,7 +217,7 @@ class _SearchTrendingPageState extends State<SearchTrendingPage> {
|
||||
Assets.livingRect,
|
||||
width: 51,
|
||||
height: 16,
|
||||
cacheHeight: 16.cacheSize(context),
|
||||
cacheHeight: 16,
|
||||
),
|
||||
],
|
||||
],
|
||||
|
||||
Reference in New Issue
Block a user