#1365 fixed displaying neighbour items when the initial item of a view intent is a new one
This commit is contained in:
parent
ecbbd3b459
commit
162900091e
2 changed files with 8 additions and 1 deletions
|
@ -9,6 +9,12 @@ All notable changes to this project will be documented in this file.
|
||||||
- dynamic album decompose action
|
- dynamic album decompose action
|
||||||
- Danish translation (thanks Grooty12, Victor M, cat)
|
- 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
|
||||||
|
|
||||||
## <a id="v1.12.0"></a>[v1.12.0] - 2024-12-19
|
## <a id="v1.12.0"></a>[v1.12.0] - 2024-12-19
|
||||||
|
|
||||||
### Added
|
### Added
|
||||||
|
|
|
@ -240,7 +240,8 @@ class _HomePageState extends State<HomePage> {
|
||||||
unawaited(AnalysisService.registerCallback());
|
unawaited(AnalysisService.registerCallback());
|
||||||
await reportService.log('Initialize source to view item in directory $directory');
|
await reportService.log('Initialize source to view item in directory $directory');
|
||||||
final source = context.read<CollectionSource>();
|
final source = context.read<CollectionSource>();
|
||||||
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)});
|
await source.init(scope: {StoredAlbumFilter(directory, null)});
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Reference in a new issue