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