Skip to content

Commit

Permalink
recyclerAdapter: exact match quickfix
Browse files Browse the repository at this point in the history
  • Loading branch information
thypon committed Aug 26, 2024
1 parent a334586 commit dfb02bc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/src/main/java/me/pompel/elauncher/recyclerAdapter.java
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ protected void publishResults(CharSequence charSequence, FilterResults filterRes
}

// if an exact match, exit and click on it
if (appNameQueue.isEmpty() && matchQueue.isEmpty()) {
if (app.appName.length() == charSequence.length() && appNameQueue.isEmpty() && matchQueue.isEmpty()) {
listener.onClick(app);
break;
}
Expand Down

0 comments on commit dfb02bc

Please sign in to comment.