版本更新推送增加了一个“从不”的选项,修复微信好友分享不能扫描二维码问题
This commit is contained in:
@ -1163,7 +1163,7 @@ public class MainActivity extends BaseFragmentActivity implements OnClickListene
|
||||
if ("EVERY_TIME_OPEN".equals(appEntity.getAlert())) {
|
||||
// 每次都提示
|
||||
showUpdateDialog(updateMD5);
|
||||
} else { // TODO 加一个从不提示更新 NEVER
|
||||
} else if (!"NEVER".equals(appEntity.getAlert())){
|
||||
// 一天提示一次
|
||||
String showUpdateTime = sp.getString("show_update_tiem", null);
|
||||
SimpleDateFormat format = new SimpleDateFormat(
|
||||
|
||||
Reference in New Issue
Block a user