fix(mobile-app): remove cacheWidth/cacheHeight to fix avatar blur on high-DPI screens
🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
parent
8eefd807c3
commit
c6c4a75984
|
|
@ -416,8 +416,6 @@ class _MiningPageState extends ConsumerState<MiningPage> {
|
|||
width: 80,
|
||||
height: 80,
|
||||
fit: BoxFit.cover,
|
||||
cacheWidth: 160, // 2x 分辨率缓存,提升性能
|
||||
cacheHeight: 160,
|
||||
gaplessPlayback: true, // 防止图片切换时闪烁
|
||||
errorBuilder: (context, error, stackTrace) {
|
||||
// 本地文件加载失败,尝试网络URL
|
||||
|
|
|
|||
|
|
@ -397,8 +397,6 @@ class _ProfilePageState extends ConsumerState<ProfilePage> {
|
|||
width: 80,
|
||||
height: 80,
|
||||
fit: BoxFit.cover,
|
||||
cacheWidth: 160, // 2x 分辨率缓存,提升性能
|
||||
cacheHeight: 160,
|
||||
gaplessPlayback: true, // 防止图片切换时闪烁
|
||||
errorBuilder: (context, error, stackTrace) {
|
||||
// 本地文件加载失败,尝试网络URL
|
||||
|
|
|
|||
Loading…
Reference in New Issue