1.修改标签弹窗重构闪退问题 2.修改获取求更新开关空指针问题

This commit is contained in:
张玉久
2020-05-19 10:15:55 +08:00
parent 414064699a
commit d4be850e68
2 changed files with 13 additions and 7 deletions

View File

@ -235,7 +235,7 @@ public class Config {
}
public static boolean isGameDomeSwitchOpen() {
return getSettings().getGameDomeSwitch().equals("on");
return getSettings().getGameDomeSwitch() != null && getSettings().getGameDomeSwitch().equals("on");
}
public static void fixHideFunction() {