diff --git a/mastodon/src/main/java/org/joinmastodon/android/ui/viewcontrollers/ComposeAutocompleteViewController.java b/mastodon/src/main/java/org/joinmastodon/android/ui/viewcontrollers/ComposeAutocompleteViewController.java index 1575251f..63d31496 100644 --- a/mastodon/src/main/java/org/joinmastodon/android/ui/viewcontrollers/ComposeAutocompleteViewController.java +++ b/mastodon/src/main/java/org/joinmastodon/android/ui/viewcontrollers/ComposeAutocompleteViewController.java @@ -208,6 +208,7 @@ public class ComposeAutocompleteViewController{ .filter(e -> !startsWithSearch.contains(e)) .filter(e -> e.shortcode.toLowerCase().contains(_text.toLowerCase()))) .map(WrappedEmoji::new) + .limit(50) .collect(Collectors.toList()); emptyButtonAdapter.setVisible(emojis.isEmpty()); UiUtils.updateList(oldList, emojis, list, emojisAdapter, (e1, e2)->e1.emoji.shortcode.equals(e2.emoji.shortcode));