初始数据 BugFix.

This commit is contained in:
ZhanGSKen 2025-05-07 10:55:46 +08:00
parent 2c0a5bfe65
commit 5206f8781e
2 changed files with 5 additions and 5 deletions

View File

@ -1,8 +1,8 @@
#Created by .winboll/winboll_app_build.gradle
#Wed May 07 10:48:11 HKT 2025
#Wed May 07 02:54:36 GMT 2025
stageCount=9
libraryProject=
baseVersion=15.0
publishVersion=15.0.8
buildCount=0
buildCount=3
baseBetaVersion=15.0.9

View File

@ -22,12 +22,12 @@ public class AppConfigsUtil {
AppConfigsUtil(Context context) {
this.mContext = context;
loadAppConfigs();
}
public synchronized static AppConfigsUtil getInstance(Context context){
if(_AppConfigsUtil == null) {
_AppConfigsUtil = new AppConfigsUtil(context);
_AppConfigsUtil.loadAppConfigs();
}
return _AppConfigsUtil;
}
@ -42,8 +42,8 @@ public class AppConfigsUtil {
if (appConfigsModel != null) {
mAppConfigsModel = appConfigsModel;
} else {
saveAppConfigs(new AppConfigsModel());
_AppConfigsUtil = this;
mAppConfigsModel = new AppConfigsModel();
saveAppConfigs(mAppConfigsModel);
}
return mAppConfigsModel;
}