π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
Add 500 character limit to comment input
ashilkne812d53003e0
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.dartindex 9b80329b4d..d320b8f7ba 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@@ -1,4 +1,5 @@import "package:flutter/material.dart";+import "package:flutter/services.dart";import "package:photos/models/api/collection/user.dart";import "package:photos/models/social/comment.dart";import "package:photos/theme/ente_theme.dart";@@ -129,6 +130,7 @@ class _CommentInputWidgetState extends State<CommentInputWidget>focusNode: widget.focusNode,keyboardType: TextInputType.multiline,textInputAction: TextInputAction.newline,+ inputFormatters: [LengthLimitingTextInputFormatter(500)],minLines: 1,maxLines: widget.replyingTo != null ? 4 : 8,textAlignVertical: TextAlignVertical.center,