初始数据 BugFix.
This commit is contained in:
parent
2c0a5bfe65
commit
5206f8781e
@ -1,8 +1,8 @@
|
|||||||
#Created by .winboll/winboll_app_build.gradle
|
#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
|
stageCount=9
|
||||||
libraryProject=
|
libraryProject=
|
||||||
baseVersion=15.0
|
baseVersion=15.0
|
||||||
publishVersion=15.0.8
|
publishVersion=15.0.8
|
||||||
buildCount=0
|
buildCount=3
|
||||||
baseBetaVersion=15.0.9
|
baseBetaVersion=15.0.9
|
||||||
|
@ -22,12 +22,12 @@ public class AppConfigsUtil {
|
|||||||
|
|
||||||
AppConfigsUtil(Context context) {
|
AppConfigsUtil(Context context) {
|
||||||
this.mContext = context;
|
this.mContext = context;
|
||||||
|
loadAppConfigs();
|
||||||
}
|
}
|
||||||
|
|
||||||
public synchronized static AppConfigsUtil getInstance(Context context){
|
public synchronized static AppConfigsUtil getInstance(Context context){
|
||||||
if(_AppConfigsUtil == null) {
|
if(_AppConfigsUtil == null) {
|
||||||
_AppConfigsUtil = new AppConfigsUtil(context);
|
_AppConfigsUtil = new AppConfigsUtil(context);
|
||||||
_AppConfigsUtil.loadAppConfigs();
|
|
||||||
}
|
}
|
||||||
return _AppConfigsUtil;
|
return _AppConfigsUtil;
|
||||||
}
|
}
|
||||||
@ -42,8 +42,8 @@ public class AppConfigsUtil {
|
|||||||
if (appConfigsModel != null) {
|
if (appConfigsModel != null) {
|
||||||
mAppConfigsModel = appConfigsModel;
|
mAppConfigsModel = appConfigsModel;
|
||||||
} else {
|
} else {
|
||||||
saveAppConfigs(new AppConfigsModel());
|
mAppConfigsModel = new AppConfigsModel();
|
||||||
_AppConfigsUtil = this;
|
saveAppConfigs(mAppConfigsModel);
|
||||||
}
|
}
|
||||||
return mAppConfigsModel;
|
return mAppConfigsModel;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user