mirror of
https://github.com/ImranR98/Obtainium.git
synced 2025-10-23 02:43:46 +02:00
Enable icon caching (#1837)
This commit is contained in:
@@ -248,7 +248,8 @@ class _AppPageState extends State<AppPage> {
|
||||
children: [
|
||||
const SizedBox(height: 20),
|
||||
FutureBuilder(
|
||||
future: appsProvider.updateAppIcon(app?.app.id),
|
||||
future:
|
||||
appsProvider.updateAppIcon(app?.app.id, ignoreCache: true),
|
||||
builder: (ctx, val) {
|
||||
return app?.icon != null
|
||||
? Row(
|
||||
|
@@ -416,6 +416,8 @@ class AppsPageState extends State<AppsPage> {
|
||||
? Image.memory(
|
||||
listedApps[appIndex].icon!,
|
||||
gaplessPlayback: true,
|
||||
opacity: AlwaysStoppedAnimation(
|
||||
listedApps[appIndex].installedInfo == null ? 0.6 : 1),
|
||||
)
|
||||
: Row(
|
||||
mainAxisSize: MainAxisSize.min,
|
||||
|
Reference in New Issue
Block a user