mirror of
https://github.com/bggRGjQaUbCoE/PiliPlus.git
synced 2026-08-04 17:50:13 +08:00
revert image cache patch
Signed-off-by: dom <githubaccount56556@proton.me>
This commit is contained in:
@@ -214,7 +214,7 @@ class _PayCoinsPageState extends State<PayCoinsPage>
|
||||
color: filter,
|
||||
width: boxSize,
|
||||
height: boxSize,
|
||||
cacheWidth: 100,
|
||||
cacheWidth: 100.cacheSize,
|
||||
colorBlendMode: .srcATop,
|
||||
),
|
||||
),
|
||||
@@ -225,7 +225,7 @@ class _PayCoinsPageState extends State<PayCoinsPage>
|
||||
child: Image.asset(
|
||||
height: coinSize,
|
||||
width: coinSize,
|
||||
cacheWidth: 50,
|
||||
cacheWidth: 50.cacheSize,
|
||||
color: filter,
|
||||
colorBlendMode: .srcATop,
|
||||
index == 0 ? Assets.coinsOne : Assets.coinsTwo,
|
||||
@@ -263,7 +263,7 @@ class _PayCoinsPageState extends State<PayCoinsPage>
|
||||
payImg,
|
||||
width: 110,
|
||||
height: 155,
|
||||
cacheWidth: 110,
|
||||
cacheWidth: 110.cacheSize,
|
||||
),
|
||||
),
|
||||
),
|
||||
@@ -354,7 +354,7 @@ class _PayCoinsPageState extends State<PayCoinsPage>
|
||||
width: 16,
|
||||
height: 28,
|
||||
index == 0 ? Assets.leftDisable : Assets.left,
|
||||
cacheWidth: 16,
|
||||
cacheWidth: 16.cacheSize,
|
||||
),
|
||||
),
|
||||
);
|
||||
@@ -377,7 +377,7 @@ class _PayCoinsPageState extends State<PayCoinsPage>
|
||||
width: 16,
|
||||
height: 28,
|
||||
index == 1 ? Assets.rightDisable : Assets.right,
|
||||
cacheWidth: 16,
|
||||
cacheWidth: 16.cacheSize,
|
||||
),
|
||||
),
|
||||
);
|
||||
@@ -459,7 +459,7 @@ class _PayCoinsPageState extends State<PayCoinsPage>
|
||||
Assets.panelClose,
|
||||
width: 30,
|
||||
height: 30,
|
||||
cacheWidth: 30,
|
||||
cacheWidth: 30.cacheSize,
|
||||
),
|
||||
),
|
||||
),
|
||||
|
||||
Reference in New Issue
Block a user