Browse Source

fix(mobile): Decrease ScrollBar Fade timeout to a second (#3370)

shalong-tanwen 2 years ago
parent
commit
337cd33042
1 changed files with 2 additions and 2 deletions
  1. 2 2
      mobile/lib/modules/home/ui/asset_grid/immich_asset_grid_view.dart

+ 2 - 2
mobile/lib/modules/home/ui/asset_grid/immich_asset_grid_view.dart

@@ -341,8 +341,8 @@ class ImmichAssetGridViewState extends State<ImmichAssetGridView> {
             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;