初始数据 BugFix.
This commit is contained in:
		| @@ -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 | ||||
|   | ||||
| @@ -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; | ||||
|     } | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 ZhanGSKen
					ZhanGSKen