mod: jump from invalid fav item

Closes #416

Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
bggRGjQaUbCoE
2025-03-10 16:52:48 +08:00
parent 5cc661e314
commit 59797a2f5f
3 changed files with 11 additions and 1 deletions

View File

@@ -398,7 +398,10 @@ class ChatItem extends StatelessWidget {
: isRevoke
? const SizedBox()
: GestureDetector(
onLongPress: onLongPress,
onLongPress: () {
Feedback.forLongPress(context);
onLongPress?.call();
},
child: Row(
children: [
if (!isOwner) const SizedBox(width: 12),