Commit 70203235 authored by fallenstardust's avatar fallenstardust

竖屏卡查支持输入数字搜索

parent 710d3c2d
......@@ -38,6 +38,7 @@
4.拖动服务器房间置顶即可设置为偏好房间
(方便快捷加房);
5.改变加入新版首发群的方式;
6.竖屏卡查支持数字卡密搜索;
</pre>
<ul>
<li style="color:#ffffff">3.2.0</li>
......
......@@ -8,7 +8,7 @@ android {
applicationId "cn.garymb.ygomobile"
minSdkVersion 16
targetSdkVersion 22
versionCode 32010527
versionCode 32010529
versionName "3.2.1"
flavorDimensions "versionCode"
vectorDrawables.useSupportLibrary = true
......
......@@ -33,7 +33,7 @@ class CardSearchInfo {
}
if (!TextUtils.isEmpty(word)) {
if (!((card.Name != null && card.Name.contains(word))
|| (card.Desc != null && card.Desc.contains(word)))) {
|| (card.Desc != null && card.Desc.contains(word))||(card.Code != 0 && card.Code==Integer.parseInt(word)))) {
return false;
}
} else if (!TextUtils.isEmpty(prefixWord) && !TextUtils.isEmpty(suffixWord)) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment