Skip to content

Commit

Permalink
Merge pull request #273 from pangeachat/longform-room-description
Browse files Browse the repository at this point in the history
Allow multiline topic input
  • Loading branch information
ggurdin authored May 30, 2024
2 parents a0b358f + 1aa589d commit 2e55185
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion lib/pangea/utils/set_class_topic.dart
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import 'package:flutter/material.dart';

import 'package:flutter_gen/gen_l10n/l10n.dart';
import 'package:future_loading_dialog/future_loading_dialog.dart';
import 'package:matrix/matrix.dart';
Expand All @@ -18,6 +17,10 @@ void setClassTopic(Room room, BuildContext context) {
),
content: TextField(
controller: textFieldController,
keyboardType: TextInputType.multiline,
minLines: 1,
maxLines: 10,
maxLength: 2000,
),
actions: [
TextButton(
Expand Down

0 comments on commit 2e55185

Please sign in to comment.