From ebd9663a5c04c2afc51f31d67ea6a93e5b7f512e Mon Sep 17 00:00:00 2001 From: hieubt Date: Wed, 25 Oct 2023 09:08:13 +0700 Subject: [PATCH] TF-1017 Enable scroll to top button for web (cherry picked from commit 2d8abfd6afe3865f0e6eb3ec6b3cdc6b3b1005f8) --- .../presentation/widgets/scroll_to_top_button_widget.dart | 3 --- 1 file changed, 3 deletions(-) diff --git a/lib/features/thread/presentation/widgets/scroll_to_top_button_widget.dart b/lib/features/thread/presentation/widgets/scroll_to_top_button_widget.dart index ce3ae7581..3293e95bd 100644 --- a/lib/features/thread/presentation/widgets/scroll_to_top_button_widget.dart +++ b/lib/features/thread/presentation/widgets/scroll_to_top_button_widget.dart @@ -61,9 +61,6 @@ class _ScrollToTopButtonWidgetState extends State { @override Widget build(BuildContext context) { - if (widget.responsiveUtils.isWebDesktop(context)) { - return const SizedBox.shrink(); - } return Align( alignment: AlignmentDirectional.bottomEnd,