添加部分简陋的 UI

This commit is contained in:
juntao
2022-05-19 17:23:19 +08:00
parent 417633b623
commit 97219323d3
27 changed files with 615 additions and 48 deletions

View File

@ -148,6 +148,13 @@ public class GameUtils {
return context.getString(R.string.launch);
}
if ("smooth".equals(gameEntity.getDownloadStatus())) {
if (doneCount != 0) {
doneCount = 0;
installCount = 1;
}
}
if (doneCount != 0) {
return context.getString(R.string.install);
} else if (pluginCount != 0 && !SimulatorGameManager.isSimulatorGame(gameEntity)) {
@ -158,7 +165,7 @@ public class GameUtils {
return context.getString(R.string.launch);
} else if ("demo".equals(gameEntity.getDownloadStatus())) {
return context.getString(R.string.attempt);
} else {
} else {
return context.getString(R.string.download);
}
}