mirror of
https://github.com/pppscn/SmsForwarder
synced 2024-11-19 15:25:45 +00:00
优化:bark推送新增标题模板、时效性、声音、角标、链接设置项(兼容旧的配置)
This commit is contained in:
parent
8f1af5afc0
commit
d0d1204e2e
@ -30,9 +30,9 @@ public class BarkSettingVo implements Serializable {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public int getLevelId() {
|
public int getLevelId() {
|
||||||
if (level.equals("timeSensitive")) {
|
if (level != null && level.equals("timeSensitive")) {
|
||||||
return R.id.btnBarkLevelTimeSensitive;
|
return R.id.btnBarkLevelTimeSensitive;
|
||||||
} else if (level.equals("passive")) {
|
} else if (level != null && level.equals("passive")) {
|
||||||
return R.id.btnBarkLevelPassive;
|
return R.id.btnBarkLevelPassive;
|
||||||
} else {
|
} else {
|
||||||
return R.id.btnBarkLevelActive;
|
return R.id.btnBarkLevelActive;
|
||||||
|
Loading…
Reference in New Issue
Block a user