0
Fork 0
mirror of https://github.com/immich-app/immich.git synced 2025-01-21 00:52:43 -05:00

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

This commit is contained in:
shalong-tanwen 2023-07-23 01:30:22 +05:30 committed by GitHub
parent 1e8fc7266c
commit 337cd33042
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -341,8 +341,8 @@ class ImmichAssetGridViewState extends State<ImmichAssetGridView> {
backgroundColor: Theme.of(context).hintColor, backgroundColor: Theme.of(context).hintColor,
labelTextBuilder: _labelBuilder, labelTextBuilder: _labelBuilder,
labelConstraints: const BoxConstraints(maxHeight: 28), labelConstraints: const BoxConstraints(maxHeight: 28),
scrollbarAnimationDuration: const Duration(seconds: 1), scrollbarAnimationDuration: const Duration(milliseconds: 300),
scrollbarTimeToFade: const Duration(seconds: 4), scrollbarTimeToFade: const Duration(milliseconds: 1000),
child: listWidget, child: listWidget,
) )
: listWidget; : listWidget;