From 337cd330427f174dfb55ca11d7a732bd09c817ca Mon Sep 17 00:00:00 2001 From: shalong-tanwen <139912620+shalong-tanwen@users.noreply.github.com> Date: Sun, 23 Jul 2023 01:30:22 +0530 Subject: [PATCH] fix(mobile): Decrease ScrollBar Fade timeout to a second (#3370) --- .../modules/home/ui/asset_grid/immich_asset_grid_view.dart | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mobile/lib/modules/home/ui/asset_grid/immich_asset_grid_view.dart b/mobile/lib/modules/home/ui/asset_grid/immich_asset_grid_view.dart index ec16762061..4fc60db71f 100644 --- a/mobile/lib/modules/home/ui/asset_grid/immich_asset_grid_view.dart +++ b/mobile/lib/modules/home/ui/asset_grid/immich_asset_grid_view.dart @@ -341,8 +341,8 @@ class ImmichAssetGridViewState extends State { backgroundColor: Theme.of(context).hintColor, labelTextBuilder: _labelBuilder, labelConstraints: const BoxConstraints(maxHeight: 28), - scrollbarAnimationDuration: const Duration(seconds: 1), - scrollbarTimeToFade: const Duration(seconds: 4), + scrollbarAnimationDuration: const Duration(milliseconds: 300), + scrollbarTimeToFade: const Duration(milliseconds: 1000), child: listWidget, ) : listWidget;