diff --git a/app/release/TSMS_release_20210126_3.5.0.apk b/app/release/TSMS_release_20210126_3.5.0.apk index ea38cf2..b924b22 100644 Binary files a/app/release/TSMS_release_20210126_3.5.0.apk and b/app/release/TSMS_release_20210126_3.5.0.apk differ diff --git a/app/src/main/java/com/tim/tsms/transpondsms/SenderActivity.java b/app/src/main/java/com/tim/tsms/transpondsms/SenderActivity.java index 119bb32..430de83 100644 --- a/app/src/main/java/com/tim/tsms/transpondsms/SenderActivity.java +++ b/app/src/main/java/com/tim/tsms/transpondsms/SenderActivity.java @@ -162,10 +162,10 @@ private void setDingDing(final SenderModel senderModel) { if (dingDingSettingVo != null) editTextDingdingSecret.setText(dingDingSettingVo.getSecret()); final EditText editTextDingdingAtMobiles = view1.findViewById(R.id.editTextDingdingAtMobiles); - if (dingDingSettingVo != null) + if (dingDingSettingVo != null && dingDingSettingVo.getAtMobils()!=null) editTextDingdingAtMobiles.setText(dingDingSettingVo.getAtMobils()); final Switch switchDingdingAtAll = view1.findViewById(R.id.switchDingdingAtAll); - if (dingDingSettingVo != null) + if (dingDingSettingVo != null && dingDingSettingVo.getAtAll()!=null) switchDingdingAtAll.setChecked(dingDingSettingVo.getAtAll()); Button buttondingdingok = view1.findViewById(R.id.buttondingdingok);