增加试玩开关判断

This commit is contained in:
Jack
2020-05-07 10:24:00 +08:00
parent e141dfb6b5
commit 8676b20fbb
3 changed files with 9 additions and 2 deletions

View File

@ -126,7 +126,7 @@ public class GameUtils {
return context.getString(R.string.update);
} else if (installCount != 0) {
return context.getString(R.string.launch);
} else if (gameEntity.getVersionNumber().contains("无版号")) {
} else if (gameEntity.getVersionNumber().contains("无版号") && Config.isGameDomeSwitchOpen()) {
return context.getString(R.string.attempt);
} else {
return context.getString(R.string.download);