From 162900091e20d56cd9f606ff729e9f97437d47f4 Mon Sep 17 00:00:00 2001 From: Thibault Deckers Date: Sun, 5 Jan 2025 16:30:57 +0100 Subject: [PATCH] #1365 fixed displaying neighbour items when the initial item of a view intent is a new one --- CHANGELOG.md | 6 ++++++ lib/widgets/home_page.dart | 3 ++- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 7222c8882..a54c1eb7f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -9,6 +9,12 @@ All notable changes to this project will be documented in this file. - dynamic album decompose action - Danish translation (thanks Grooty12, Victor M, cat) +### Fixed + +- analysis service not triggering because of uninitialized app lifecycle +- Viewer: displaying neighbour items when the initial item of a view intent is a new one +- Search: dynamic album name filtering + ## [v1.12.0] - 2024-12-19 ### Added diff --git a/lib/widgets/home_page.dart b/lib/widgets/home_page.dart index 03a75d7ca..dfc828a07 100644 --- a/lib/widgets/home_page.dart +++ b/lib/widgets/home_page.dart @@ -240,7 +240,8 @@ class _HomePageState extends State { unawaited(AnalysisService.registerCallback()); await reportService.log('Initialize source to view item in directory $directory'); final source = context.read(); - source.canAnalyze = false; + // analysis is necessary to display neighbour items when the initial item is a new one + source.canAnalyze = true; await source.init(scope: {StoredAlbumFilter(directory, null)}); } } else {