Fix chat list
This commit is contained in:
parent
02d2e062db
commit
c40a6bf834
|
@ -384,7 +384,7 @@ class _ChatListState extends State<ChatList> {
|
||||||
final int totalCount = rooms.length + publicRoomsCount;
|
final int totalCount = rooms.length + publicRoomsCount;
|
||||||
return ListView.separated(
|
return ListView.separated(
|
||||||
separatorBuilder: (BuildContext context, int i) =>
|
separatorBuilder: (BuildContext context, int i) =>
|
||||||
i == totalCount - publicRoomsCount - 1
|
i == totalCount - publicRoomsCount
|
||||||
? Material(
|
? Material(
|
||||||
elevation: 2,
|
elevation: 2,
|
||||||
child: ListTile(
|
child: ListTile(
|
||||||
|
|
Loading…
Reference in a new issue