refactor: No longer need selected of chat list tile

This commit is contained in:
Christian Pauly 2022-10-15 16:25:32 +02:00
parent 7e4a4c88be
commit fe0452299f

View File

@ -161,7 +161,6 @@ class ChatListItem extends StatelessWidget {
? Theme.of(context).colorScheme.secondaryContainer ? Theme.of(context).colorScheme.secondaryContainer
: Colors.transparent, : Colors.transparent,
child: ListTile( child: ListTile(
selected: selected || activeChat,
onLongPress: onLongPress, onLongPress: onLongPress,
leading: selected leading: selected
? SizedBox( ? SizedBox(