mirror of
https://github.com/immich-app/immich.git
synced 2026-03-11 04:13:44 -04:00
Search results are replaced with a spinner when loading the next page, which is quite jarring. Search results now remain visible when loading the next page with a spinner at the bottom. The next page also loads sooner, which makes it feel a lot smoother. Co-authored-by: Alex <alex.tran1502@gmail.com>
14 lines
556 B
Dart
14 lines
556 B
Dart
import 'dart:ui';
|
|
|
|
const double kTimelineHeaderExtent = 80.0;
|
|
const Size kTimelineFixedTileExtent = Size.square(256);
|
|
const double kTimelineSpacing = 2.0;
|
|
const int kTimelineColumnCount = 3;
|
|
|
|
const double kScrubberThumbHeight = 48.0;
|
|
const Duration kTimelineScrubberFadeInDuration = Duration(milliseconds: 300);
|
|
const Duration kTimelineScrubberFadeOutDuration = Duration(milliseconds: 800);
|
|
|
|
const Size kThumbnailResolution = Size.square(320); // TODO: make the resolution vary based on actual tile size
|
|
const kThumbnailDiskCacheSize = 1024 << 20; // 1GiB
|