feat: Increase the amount of suggestions for the input bar

This commit is contained in:
Sorunome 2021-07-24 18:07:50 +02:00
parent ab90755fdc
commit c4e1a9cbd0
No known key found for this signature in database
GPG Key ID: B19471D07FC9BE9C

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) {