explorer fixes

This commit is contained in:
Thibault Deckers 2024-06-24 23:08:31 +02:00
parent 01dd1c925a
commit 5651d035e7
2 changed files with 2 additions and 3 deletions

View file

@ -1,6 +1,7 @@
import 'package:aves/model/filters/recent.dart';
import 'package:aves/model/naming_pattern.dart';
import 'package:aves/ref/mime_types.dart';
import 'package:aves/widgets/explorer/explorer_page.dart';
import 'package:aves/widgets/filter_grids/albums_page.dart';
import 'package:aves/widgets/filter_grids/countries_page.dart';
import 'package:aves/widgets/filter_grids/tags_page.dart';
@ -39,6 +40,7 @@ class SettingsDefaults {
AlbumListPage.routeName,
CountryListPage.routeName,
TagListPage.routeName,
ExplorerPage.routeName,
];
// collection

View file

@ -192,9 +192,6 @@ class _ExplorerPageState extends State<ExplorerPage> {
onSelected: (volume) async {
// wait for the popup menu to hide before proceeding with the action
await Future.delayed(animations.popUpAnimationDelay * timeDilation);
Navigator.maybeOf(context)?.pop();
await Future.delayed(ADurations.drawerTransitionAnimation);
_goTo(volume.path);
},
popUpAnimationStyle: animations.popUpAnimationStyle,