From bd9664a246e77447c27a7d92c4f26503f278444c Mon Sep 17 00:00:00 2001 From: Krille Fear Date: Thu, 10 Mar 2022 06:59:47 +0100 Subject: [PATCH] chore: Remove story line count and make answering to stories online --- lib/pages/add_story/add_story_view.dart | 1 - lib/pages/story/story_view.dart | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/lib/pages/add_story/add_story_view.dart b/lib/pages/add_story/add_story_view.dart index faecb415..8153c60d 100644 --- a/lib/pages/add_story/add_story_view.dart +++ b/lib/pages/add_story/add_story_view.dart @@ -101,7 +101,6 @@ class AddStoryView extends StatelessWidget { focusNode: controller.focusNode, minLines: 1, maxLines: 15, - maxLength: 500, autofocus: false, textAlign: TextAlign.center, style: TextStyle( diff --git a/lib/pages/story/story_view.dart b/lib/pages/story/story_view.dart index db4f4bdf..5a20eef4 100644 --- a/lib/pages/story/story_view.dart +++ b/lib/pages/story/story_view.dart @@ -320,7 +320,7 @@ class StoryView extends StatelessWidget { minLines: 1, maxLines: 7, onSubmitted: controller.replyAction, - textInputAction: TextInputAction.newline, + textInputAction: TextInputAction.send, readOnly: controller.replyLoading, decoration: InputDecoration( hintText: L10n.of(context)!.reply,