mirror of
https://gitlab.com/famedly/fluffychat.git
synced 2024-11-27 23:09:35 +01:00
fix: ScrollController in chatlist
This commit is contained in:
parent
8911e649fd
commit
93477d3a1e
@ -39,8 +39,6 @@ class _ChatListState extends State<ChatList> {
|
||||
AppBar appBar;
|
||||
final _selectedRoomIds = <String>{};
|
||||
|
||||
final ScrollController _scrollController = ScrollController();
|
||||
|
||||
void _processIncomingSharedFiles(List<SharedMediaFile> files) {
|
||||
if (files?.isEmpty ?? true) return;
|
||||
AdaptivePageLayout.of(context).popUntilIsFirst();
|
||||
@ -386,7 +384,6 @@ class _ChatListState extends State<ChatList> {
|
||||
}
|
||||
final totalCount = rooms.length;
|
||||
return ListView.builder(
|
||||
controller: _scrollController,
|
||||
itemCount: totalCount,
|
||||
itemBuilder: (BuildContext context, int i) =>
|
||||
ChatListItem(
|
||||
|
Loading…
Reference in New Issue
Block a user