This commit is contained in:
AsperforMias 2026-05-15 07:48:11 +00:00 committed by GitHub
commit 2d85c85ca5
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View File

@ -232,7 +232,7 @@ public class HistoryActivity extends BaseActivity {
} else {
List<Map<String, Object>> searchRet = new ArrayList<>();
for (int i = 0; i < mAllRecord.size(); i++){
if (mAllRecord.get(i).toString().indexOf(newText) > 0){
if (mAllRecord.get(i).toString().indexOf(newText) >= 0){
searchRet.add(mAllRecord.get(i));
}
}

View File

@ -692,7 +692,7 @@ public class JoyStick extends View {
} else {
List<Map<String, Object>> searchRet = new ArrayList<>();
for (int i = 0; i < mAllRecord.size(); i++){
if (mAllRecord.get(i).toString().indexOf(newText) > 0){
if (mAllRecord.get(i).toString().indexOf(newText) >= 0){
searchRet.add(mAllRecord.get(i));
}
}