mirror of
https://gitlab.com/famedly/fluffychat.git
synced 2025-02-17 14:30:40 +01:00
fix: Analyzer
This commit is contained in:
parent
797ace3948
commit
b0bcdfcb51
@ -202,7 +202,6 @@ class ChatListView extends StatelessWidget {
|
|||||||
final totalCount = rooms.length;
|
final totalCount = rooms.length;
|
||||||
return ListView.builder(
|
return ListView.builder(
|
||||||
itemCount: totalCount,
|
itemCount: totalCount,
|
||||||
controller: controller.scrollController,
|
|
||||||
itemBuilder: (BuildContext context, int i) =>
|
itemBuilder: (BuildContext context, int i) =>
|
||||||
ChatListItem(
|
ChatListItem(
|
||||||
rooms[i],
|
rooms[i],
|
||||||
@ -230,11 +229,11 @@ class ChatListView extends StatelessWidget {
|
|||||||
]),
|
]),
|
||||||
floatingActionButton: selectMode == SelectMode.normal
|
floatingActionButton: selectMode == SelectMode.normal
|
||||||
? FloatingActionButton(
|
? FloatingActionButton(
|
||||||
heroTag: 'main_fab',
|
heroTag: 'main_fab',
|
||||||
onPressed: () =>
|
onPressed: () =>
|
||||||
VRouter.of(context).push('/newprivatechat'),
|
VRouter.of(context).push('/newprivatechat'),
|
||||||
child: Icon(CupertinoIcons.chat_bubble),
|
child: Icon(CupertinoIcons.chat_bubble),
|
||||||
)
|
)
|
||||||
: null,
|
: null,
|
||||||
));
|
));
|
||||||
});
|
});
|
||||||
|
Loading…
x
Reference in New Issue
Block a user