添加部分简陋的 UI
This commit is contained in:
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user