mirror of
https://github.com/mastodon/mastodon-android.git
synced 2024-12-26 08:44:59 +01:00
Fix #34
This commit is contained in:
parent
f267f68245
commit
94b6189f36
@ -335,6 +335,8 @@ public class InstanceCatalogFragment extends BaseRecyclerFragment<CatalogInstanc
|
||||
private boolean onSearchEnterPressed(TextView v, int actionId, KeyEvent event){
|
||||
if(event!=null && event.getAction()!=KeyEvent.ACTION_DOWN)
|
||||
return true;
|
||||
currentSearchQuery=searchEdit.getText().toString().toUpperCase();
|
||||
updateFilteredList();
|
||||
searchEdit.removeCallbacks(searchDebouncer);
|
||||
Instance instance=instancesCache.get(currentSearchQuery);
|
||||
if(instance==null){
|
||||
|
Loading…
Reference in New Issue
Block a user