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

This commit is contained in:
Krille Fear 2022-03-10 06:59:47 +01:00
parent bb7d0e0ab9
commit bd9664a246
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,