chore: Follow up select chats

pull/759/head
krille-chan 2 years ago
parent 2706780a43
commit 2ec5139a0a
No known key found for this signature in database

@ -379,23 +379,19 @@ class ChatListItem extends StatelessWidget {
),
onTap: () => clickAction(context),
trailing: onForget == null
? AnimatedSize(
duration: FluffyThemes.animationDuration,
curve: FluffyThemes.animationCurve,
child: hovered || selected
? IconButton(
color: selected
? Theme.of(context).colorScheme.primary
: null,
icon: Icon(
selected
? Icons.check_circle
: Icons.check_circle_outlined,
),
onPressed: onLongPress,
)
: const SizedBox.shrink(),
)
? hovered || selected
? IconButton(
color: selected
? Theme.of(context).colorScheme.primary
: null,
icon: Icon(
selected
? Icons.check_circle
: Icons.check_circle_outlined,
),
onPressed: onLongPress,
)
: null
: IconButton(
icon: const Icon(Icons.delete_outlined),
onPressed: onForget,

Loading…
Cancel
Save