mirror of
https://gitlab.com/famedly/fluffychat.git
synced 2025-02-03 08:44:14 +01:00
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:
commit
baec24e650
@ -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…
Reference in New Issue
Block a user