Przeglądaj źródła

increase caption length from 280 -> 5000

Neeraj Gupta 2 lat temu
rodzic
commit
d969eb5581
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      lib/ui/viewer/file/file_caption_widget.dart

+ 1 - 1
lib/ui/viewer/file/file_caption_widget.dart

@@ -13,7 +13,7 @@ class FileCaptionWidget extends StatefulWidget {
 }
 
 class _FileCaptionWidgetState extends State<FileCaptionWidget> {
-  int maxLength = 280;
+  static const int maxLength = 5000;
   int currentLength = 0;
   final _textController = TextEditingController();
   final _focusNode = FocusNode();