mirror of
https://github.com/ZCShou/GoGoGo.git
synced 2026-06-13 21:00:55 +08:00
Merge 5ae1b1908c into de0d596190
This commit is contained in:
commit
2d85c85ca5
@ -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));
|
||||
}
|
||||
}
|
||||
|
||||
@ -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));
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user