mirror of
https://github.com/immich-app/immich.git
synced 2026-05-18 03:10:24 +03:00
wip
This commit is contained in:
@@ -28,6 +28,8 @@ class ThumbnailTile extends ConsumerWidget {
|
|||||||
final bool showStorageIndicator;
|
final bool showStorageIndicator;
|
||||||
final bool lockSelection;
|
final bool lockSelection;
|
||||||
final int? heroOffset;
|
final int? heroOffset;
|
||||||
|
final bool enablePlaceholder = false;
|
||||||
|
final bool showIndicators = false;
|
||||||
|
|
||||||
@override
|
@override
|
||||||
Widget build(BuildContext context, WidgetRef ref) {
|
Widget build(BuildContext context, WidgetRef ref) {
|
||||||
@@ -47,7 +49,13 @@ class ThumbnailTile extends ConsumerWidget {
|
|||||||
|
|
||||||
return Stack(
|
return Stack(
|
||||||
children: [
|
children: [
|
||||||
Container(color: lockSelection ? context.colorScheme.surfaceContainerHighest : assetContainerColor),
|
Container(
|
||||||
|
color: lockSelection
|
||||||
|
? context.colorScheme.surfaceContainerHighest
|
||||||
|
: isSelected
|
||||||
|
? assetContainerColor
|
||||||
|
: Colors.transparent,
|
||||||
|
),
|
||||||
AnimatedContainer(
|
AnimatedContainer(
|
||||||
duration: Durations.short4,
|
duration: Durations.short4,
|
||||||
curve: Curves.decelerate,
|
curve: Curves.decelerate,
|
||||||
|
|||||||
Reference in New Issue
Block a user