修改判断

This commit is contained in:
18401019693 2023-11-11 10:43:05 +08:00
parent c18af48fbb
commit 6990bd13ed
2 changed files with 2 additions and 2 deletions

View File

@ -320,7 +320,7 @@ public class SudGameListPopup extends BottomPopupView {
public void onSudGameListSillEvent(SudGameListSillEvent event) { public void onSudGameListSillEvent(SudGameListSillEvent event) {
mSill = event.getSill(); mSill = event.getSill();
mSillName = event.getSillName(); mSillName = event.getSillName();
if (TextUtils.equals("0,0", mSill)) { if (TextUtils.equals("0,0,0", mSill)) {
sillTitle.setText(mSillName); sillTitle.setText(mSillName);
} else { } else {
sillTitle.setText(mSillName.substring(0, mSillName.length() - 2)); sillTitle.setText(mSillName.substring(0, mSillName.length() - 2));

View File

@ -351,7 +351,7 @@ public class MainHomeGameViewHolder extends AbsMainHomeChildViewHolder implement
public void onSudGameListSillEvent(SudGameListSillEvent event) { public void onSudGameListSillEvent(SudGameListSillEvent event) {
mSill = event.getSill(); mSill = event.getSill();
mSillName = event.getSillName(); mSillName = event.getSillName();
if (TextUtils.equals("0,0", mSill)) { if (TextUtils.equals("0,0,0", mSill)) {
sillTitle.setText(mSillName); sillTitle.setText(mSillName);
} else { } else {
sillTitle.setText(mSillName.substring(0, mSillName.length() - 2)); sillTitle.setText(mSillName.substring(0, mSillName.length() - 2));