default thumbnail size
This commit is contained in:
@@ -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');
|
||||||
|
|||||||
Reference in New Issue
Block a user