mirror of
https://github.com/immich-app/immich.git
synced 2025-05-31 12:15:47 -04:00
default thumbnail size
This commit is contained in:
parent
63ed6283fc
commit
fe4c6c6365
@ -31,7 +31,7 @@ class ImmichThumbnail extends HookWidget {
|
|||||||
static ImageProvider imageProvider({
|
static ImageProvider imageProvider({
|
||||||
Asset? asset,
|
Asset? asset,
|
||||||
String? assetId,
|
String? assetId,
|
||||||
int thumbnailSize = 256,
|
int thumbnailSize = 128,
|
||||||
}) {
|
}) {
|
||||||
if (asset == null && assetId == null) {
|
if (asset == null && assetId == null) {
|
||||||
throw Exception('Must supply either asset or assetId');
|
throw Exception('Must supply either asset or assetId');
|
||||||
|
Loading…
x
Reference in New Issue
Block a user