fix(mobile): blurry memory photos (#6734)
* fix(mobile): blurry memory photos * better naming and performance
This commit is contained in:
@@ -82,6 +82,7 @@ class MemoryCard extends HookConsumerWidget {
|
||||
height: double.infinity,
|
||||
width: double.infinity,
|
||||
type: ThumbnailFormat.JPEG,
|
||||
preferredLocalAssetSize: 2048,
|
||||
),
|
||||
),
|
||||
Positioned(
|
||||
|
||||
@@ -101,6 +101,7 @@ class MemoryPage extends HookConsumerWidget {
|
||||
asset,
|
||||
context,
|
||||
type: api.ThumbnailFormat.WEBP,
|
||||
size: 2048,
|
||||
),
|
||||
);
|
||||
precaches.add(
|
||||
@@ -108,6 +109,7 @@ class MemoryPage extends HookConsumerWidget {
|
||||
asset,
|
||||
context,
|
||||
type: api.ThumbnailFormat.JPEG,
|
||||
size: 2048,
|
||||
),
|
||||
);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user