Merge branch 'soru/more-suggestions' into 'main'

feat: Increase the amount of suggestions for the input bar

See merge request famedly/fluffychat!458
This commit is contained in:
Krille Fear 2021-07-25 08:56:46 +00:00
commit baec24e650
1 changed files with 1 additions and 1 deletions

View File

@ -43,7 +43,7 @@ class InputBar extends StatelessWidget {
final searchText =
controller.text.substring(0, controller.selection.baseOffset);
final ret = <Map<String, String>>[];
const maxResults = 10;
const maxResults = 30;
final commandMatch = RegExp(r'^\/([\w]*)$').firstMatch(searchText);
if (commandMatch != null) {