【光环助手V5.4.0】儿童/青少年模式(客户端展示,未对接设置页面)https://git.ghzs.com/pm/halo-app-issues/-/issues/1571

This commit is contained in:
lyr
2021-10-20 17:55:41 +08:00
parent f65664b885
commit 16091f759c
22 changed files with 272 additions and 58 deletions

View File

@ -37,6 +37,12 @@ public class DetailDownloadUtils {
return;
}
if (SPUtils.getBoolean(Constants.SP_TEENAGER_MODEL)) {
viewHolder.mDownloadPb.setText("查看");
viewHolder.mDownloadPb.setDownloadType(DownloadProgressBar.DownloadType.TEENAGER_MODEL);
return;
}
if (viewHolder.gameEntity.isReservable()) {
if (!ReservationRepository.thisGameHasBeenReserved(viewHolder.gameEntity.getId())) {