Skip to content

Commit 593a02b

Browse files
committed
msglist: Use faster fade to hidden animation for mark as read button
Fixes: zulip#613
1 parent 5f13ee1 commit 593a02b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/widgets/message_list.dart

+1-1
Original file line numberDiff line numberDiff line change
@@ -559,7 +559,7 @@ class MarkAsReadAnimation extends StatelessWidget {
559559
Widget build(BuildContext context) {
560560
return AnimatedOpacity(
561561
opacity: hidden ? 0 : loading ? 0.5 : 1,
562-
duration: Duration(milliseconds: hidden ? 2000 : 300),
562+
duration: const Duration(milliseconds: 500),
563563
curve: Curves.easeOut,
564564
child: child);
565565
}

0 commit comments

Comments
 (0)