chore: Follow up fix select text

This commit is contained in:
Krille 2023-11-06 14:24:57 +01:00
parent c1f0ac1c91
commit 1759043ee8
No known key found for this signature in database

View file

@ -115,7 +115,7 @@ class Message extends StatelessWidget {
}
final row = InkWell(
onTap: longPressSelect ? () => onSelect!(event) : null,
onTap: () => onSelect!(event),
child: HoverBuilder(
builder: (context, hovered) => Row(
crossAxisAlignment: CrossAxisAlignment.start,
@ -397,7 +397,7 @@ class Message extends StatelessWidget {
),
),
direction: SwipeDirection.endToStart,
onSwipe: (_) => onSelect?.call(event),
onSwipe: (_) => onSwipe(),
child: Center(
child: Container(
color: selected