Merge branch 'krille/story-enhancements' into 'main'

chore: Remove story line count and make answering to stories online

See merge request famedly/fluffychat!767
This commit is contained in:
Krille Fear 2022-03-10 06:16:19 +00:00
commit acb94772ac
2 changed files with 1 additions and 2 deletions

View File

@ -101,7 +101,6 @@ class AddStoryView extends StatelessWidget {
focusNode: controller.focusNode, focusNode: controller.focusNode,
minLines: 1, minLines: 1,
maxLines: 15, maxLines: 15,
maxLength: 500,
autofocus: false, autofocus: false,
textAlign: TextAlign.center, textAlign: TextAlign.center,
style: TextStyle( style: TextStyle(

View File

@ -320,7 +320,7 @@ class StoryView extends StatelessWidget {
minLines: 1, minLines: 1,
maxLines: 7, maxLines: 7,
onSubmitted: controller.replyAction, onSubmitted: controller.replyAction,
textInputAction: TextInputAction.newline, textInputAction: TextInputAction.send,
readOnly: controller.replyLoading, readOnly: controller.replyLoading,
decoration: InputDecoration( decoration: InputDecoration(
hintText: L10n.of(context)!.reply, hintText: L10n.of(context)!.reply,