image cache patch

Signed-off-by: dom <githubaccount56556@proton.me>
This commit is contained in:
dom
2026-05-11 12:51:45 +08:00
parent 32eeef7866
commit 459f84b208
48 changed files with 260 additions and 143 deletions

View File

@@ -261,7 +261,7 @@ class _PayCoinsPageState extends State<PayCoinsPage>
payImg,
width: 110,
height: 155,
cacheWidth: 110.cacheSize(context),
cacheWidth: 110,
),
),
),
@@ -352,7 +352,7 @@ class _PayCoinsPageState extends State<PayCoinsPage>
width: 16,
height: 28,
index == 0 ? Assets.leftDisable : Assets.left,
cacheWidth: 16.cacheSize(context),
cacheWidth: 16,
),
),
);
@@ -375,7 +375,7 @@ class _PayCoinsPageState extends State<PayCoinsPage>
width: 16,
height: 28,
index == 1 ? Assets.rightDisable : Assets.right,
cacheWidth: 16.cacheSize(context),
cacheWidth: 16,
),
),
);
@@ -452,7 +452,7 @@ class _PayCoinsPageState extends State<PayCoinsPage>
Assets.panelClose,
width: 30,
height: 30,
cacheWidth: 30.cacheSize(context),
cacheWidth: 30,
),
),
),