Skip to content

Commit

Permalink
修复大小写匹配
Browse files Browse the repository at this point in the history
  • Loading branch information
hanFengSan committed Aug 7, 2016
1 parent 04080c5 commit 9f28f87
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
4 changes: 2 additions & 2 deletions app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ android {
applicationId "com.yakami.light"
minSdkVersion 17
targetSdkVersion 24
versionCode 3
versionName "0.12"
versionCode 4
versionName "0.2"
//getui start
manifestPlaceholders = [
GETUI_APP_ID : "r4VubK1WoT9CaRwoa1rXh3",
Expand Down
Binary file added app/light-v0-2测试版2.apk
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -475,7 +475,10 @@ private List<BangumiRank> search(List<DiscRank> list) {
if (Tools.isAvailableStr(mKeyword)) {
List<DiscRank> result = new ArrayList<>();
for (DiscRank item : list) {
if (item.getName().contains(mKeyword) || item.getsName().contains(mKeyword)) {
String name = item.getName().toLowerCase();
String sName = item.getsName().toLowerCase();
String lowerKeyword = mKeyword.toLowerCase();
if (name.contains(lowerKeyword) || sName.contains(lowerKeyword)) {
result.add(item);
}
}
Expand Down

0 comments on commit 9f28f87

Please sign in to comment.