From 66bd75c2f1ea4ad36a50553ab3f9f0c894db79a3 Mon Sep 17 00:00:00 2001 From: Henry-Hiles Date: Fri, 25 Sep 2026 12:04:41 -0400 Subject: [PATCH] make ChatScroll.use a factory --- lib/helpers/hooks/chat_scroll.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/helpers/hooks/chat_scroll.dart b/lib/helpers/hooks/chat_scroll.dart index d8bfae8..9efd3b2 100644 --- a/lib/helpers/hooks/chat_scroll.dart +++ b/lib/helpers/hooks/chat_scroll.dart @@ -15,7 +15,7 @@ final class ChatScroll({ required final ScrollController scrollController, required final Future Function(String id) jumpToId, }) { - static ChatScroll use({ + factory use({ required AsyncValue controllerData, required Future Function() loadOlder, required Future Function() markRead,