mirror of
https://github.com/immich-app/immich
synced 2025-10-17 18:19:27 +00:00
fix: storage indicator (#22077)
This commit is contained in:
parent
f05ef81c4f
commit
4e9bdd5e6c
4 changed files with 5 additions and 2 deletions
|
|
@ -15,6 +15,7 @@ class MainTimelinePage extends ConsumerWidget {
|
|||
return Timeline(
|
||||
topSliverWidget: const SliverToBoxAdapter(child: DriftMemoryLane()),
|
||||
topSliverWidgetHeight: hasMemories ? 200 : 0,
|
||||
showStorageIndicator: true,
|
||||
);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -26,6 +26,7 @@ class LocalTimelinePage extends StatelessWidget {
|
|||
child: Timeline(
|
||||
appBar: MesmerizingSliverAppBar(title: album.name),
|
||||
bottomSheet: const LocalAlbumBottomSheet(),
|
||||
showStorageIndicator: true,
|
||||
),
|
||||
);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -633,6 +633,7 @@ class _SearchResultGrid extends ConsumerWidget {
|
|||
groupBy: GroupAssetsBy.none,
|
||||
appBar: null,
|
||||
bottomSheet: const GeneralBottomSheet(minChildSize: 0.20),
|
||||
withScrubber: false,
|
||||
),
|
||||
),
|
||||
),
|
||||
|
|
|
|||
|
|
@ -32,7 +32,7 @@ class Timeline extends StatelessWidget {
|
|||
super.key,
|
||||
this.topSliverWidget,
|
||||
this.topSliverWidgetHeight,
|
||||
this.showStorageIndicator,
|
||||
this.showStorageIndicator = false,
|
||||
this.withStack = false,
|
||||
this.appBar = const ImmichSliverAppBar(floating: true, pinned: false, snap: false),
|
||||
this.bottomSheet = const GeneralBottomSheet(minChildSize: 0.18),
|
||||
|
|
@ -42,7 +42,7 @@ class Timeline extends StatelessWidget {
|
|||
|
||||
final Widget? topSliverWidget;
|
||||
final double? topSliverWidgetHeight;
|
||||
final bool? showStorageIndicator;
|
||||
final bool showStorageIndicator;
|
||||
final Widget? appBar;
|
||||
final Widget? bottomSheet;
|
||||
final bool withStack;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue