1
0
mirror of https://github.com/immich-app/immich.git synced 2025-08-08 23:07:06 +02:00

feat(mobile): locate in timeline (#16722)

* feat(mobile): view in timeline

* fix: throwing error on scroll

* only show option if not in photos tab
This commit is contained in:
Yaros
2025-03-10 03:31:34 +01:00
committed by GitHub
parent 6da77600e5
commit bdabea4030
3 changed files with 31 additions and 1 deletions

View File

@ -332,7 +332,7 @@ class ImmichAssetGridViewState extends ConsumerState<ImmichAssetGridView> {
);
}
if (index != -1 && index < widget.renderList.elements.length) {
if (index < widget.renderList.elements.length) {
// Not sure why the index is shifted, but it works. :3
_scrollToIndex(index + 1);
} else {