Skip to content

armgit / ente

Public Imported from GitHub
0

πŸ’š End-to-end encrypted cloud for everything.

Use IconButton for send button to increase tap area

ashilkn79582740217c
diff --git a/mobile/apps/photos/lib/ui/social/widgets/comment_input_widget.dart b/mobile/apps/photos/lib/ui/social/widgets/comment_input_widget.dart
index d320b8f7ba..c1fa9b2822 100644
--- a/mobile/apps/photos/lib/ui/social/widgets/comment_input_widget.dart
+++ b/mobile/apps/photos/lib/ui/social/widgets/comment_input_widget.dart
@@ -151,15 +151,12 @@ class _CommentInputWidgetState extends State<CommentInputWidget>
horizontal: 18,
vertical: 14,
),
- suffixIcon: Padding(
- padding: const EdgeInsets.only(right: 10),
- child: GestureDetector(
- onTap: widget.onSend,
- child: Icon(
- Icons.send_rounded,
- color: colorScheme.textBase.withValues(alpha: 0.8),
- size: 24,
- ),
+ suffixIcon: IconButton(
+ onPressed: widget.onSend,
+ icon: Icon(
+ Icons.send_rounded,
+ color: colorScheme.textBase.withValues(alpha: 0.8),
+ size: 24,
),
),
enabledBorder: OutlineInputBorder(