Skip to content

Commit 3e32c6c

Browse files
committed
autocomplete[nfc]: Remove duplicated code in refeshStaleUserResults
1 parent ab18a94 commit 3e32c6c

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

lib/model/autocomplete.dart

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -312,15 +312,6 @@ class MentionAutocompleteView extends AutocompleteView<MentionAutocompleteQuery,
312312
// TODO test that logic (may involve detecting an unhandled Future rejection; how?)
313313
super.dispose();
314314
}
315-
316-
/// Recompute user results for the current query, if any.
317-
///
318-
/// Called in particular when we get a [RealmUserEvent].
319-
void refreshStaleUserResults() {
320-
if (_query != null) {
321-
_startSearch(_query!);
322-
}
323-
}
324315
}
325316

326317
abstract class AutocompleteQuery {

0 commit comments

Comments
 (0)