From 099a151d1d2e48081f029df5df6c18025b58b4b3 Mon Sep 17 00:00:00 2001 From: Thibault Deckers Date: Fri, 7 Jan 2022 16:44:59 +0900 Subject: [PATCH] minor changes --- CHANGELOG.md | 2 ++ lib/widgets/aves_app.dart | 6 ++++++ 2 files changed, 8 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 1817619c0..1b10d1cee 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -16,6 +16,8 @@ All notable changes to this project will be documented in this file. - editing an item orientation, rating or tags automatically sets a metadata date (from the file modified date), if it is missing +- Viewer: when opening an item from another app, it is now possible to scroll to other items in the + album ### Fixed diff --git a/lib/widgets/aves_app.dart b/lib/widgets/aves_app.dart index 80c6846b0..ef35eb8fb 100644 --- a/lib/widgets/aves_app.dart +++ b/lib/widgets/aves_app.dart @@ -106,6 +106,12 @@ class _AvesAppState extends State { home: home, navigatorObservers: _navigatorObservers, builder: (context, child) { + // Flutter has various page transition implementations for Android: + // - `FadeUpwardsPageTransitionsBuilder` on Oreo / API 27 and below + // - `OpenUpwardsPageTransitionsBuilder` on Pie / API 28 + // - `ZoomPageTransitionsBuilder` on Android 10 / API 29 and above + // As of Flutter v2.8.1, `FadeUpwardsPageTransitionsBuilder` is the default, regardless of versions. + // In practice, `ZoomPageTransitionsBuilder` feels unstable when transitioning from Album to Collection. if (!areAnimationsEnabled) { child = Theme( data: Theme.of(context).copyWith(