mirror of
https://gitlab.com/famedly/fluffychat.git
synced 2025-02-17 14:30:40 +01:00
feat: Increase the amount of suggestions for the input bar
This commit is contained in:
parent
ab90755fdc
commit
c4e1a9cbd0
@ -43,7 +43,7 @@ class InputBar extends StatelessWidget {
|
|||||||
final searchText =
|
final searchText =
|
||||||
controller.text.substring(0, controller.selection.baseOffset);
|
controller.text.substring(0, controller.selection.baseOffset);
|
||||||
final ret = <Map<String, String>>[];
|
final ret = <Map<String, String>>[];
|
||||||
const maxResults = 10;
|
const maxResults = 30;
|
||||||
|
|
||||||
final commandMatch = RegExp(r'^\/([\w]*)$').firstMatch(searchText);
|
final commandMatch = RegExp(r'^\/([\w]*)$').firstMatch(searchText);
|
||||||
if (commandMatch != null) {
|
if (commandMatch != null) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user