|
|
@@ -36,11 +36,14 @@ namespace Fort23.Mono
|
|
|
UIManager.Instance.DormancyGComponent(daoYouGuaJiWidget);
|
|
|
}
|
|
|
|
|
|
+ AccountFileInfo.Instance.playerData.daoYouGuaiJiDatas.RemoveAll(p => p.isLeave && p.items.Count <= 0);
|
|
|
+
|
|
|
widgets.Clear();
|
|
|
|
|
|
foreach (var keyValuePair in AccountFileInfo.Instance.playerData.daoYouGuaiJiDatas)
|
|
|
{
|
|
|
- DaoYouGuaJiWidget daoYouGuaJiWidget = await UIManager.Instance.CreateGComponent<DaoYouGuaJiWidget>(null, Content);
|
|
|
+ DaoYouGuaJiWidget daoYouGuaJiWidget =
|
|
|
+ await UIManager.Instance.CreateGComponent<DaoYouGuaJiWidget>(null, Content);
|
|
|
daoYouGuaJiWidget.CustomInit(keyValuePair);
|
|
|
widgets.Add(daoYouGuaJiWidget);
|
|
|
}
|