解决我的收藏选择集合后其他分类也显示收藏列表
This commit is contained in:
parent
adc9613592
commit
ccdf2c63f2
@ -111,29 +111,32 @@ public class MapListExtraController : PFUIPanel
|
||||
}
|
||||
public void HandleCollection()
|
||||
{
|
||||
if (App.CurrentRouteType == "My Collection")
|
||||
{
|
||||
typeSelector.gameObject.SetActive(true);
|
||||
RefreshCollectList();
|
||||
}
|
||||
else
|
||||
{
|
||||
typeSelector.gameObject.SetActive(false);
|
||||
}
|
||||
p1.localPosition = new Vector3(p1originx, p1.localPosition.y, p1.localPosition.z);
|
||||
p2.localPosition = new Vector3(p2originx, p2.localPosition.y, p2.localPosition.z);
|
||||
typeSelector.Find("Container/Route").GetComponent<Text>().color = Utils.HexToColorHtml("#ffffff");
|
||||
typeSelector.Find("Container1/Collection").GetComponent<Text>().color = Utils.HexToColorHtml("#5c5c6e");
|
||||
SetImageStyle(true);
|
||||
HandleMobileNavCustom(true);
|
||||
if (App.CurrentSubRouteType == "Route")
|
||||
|
||||
if (App.CurrentRouteType == "My Collection")
|
||||
{
|
||||
ShowRouteList();
|
||||
typeSelector.gameObject.SetActive(true);
|
||||
RefreshCollectList();
|
||||
if (App.CurrentSubRouteType == "Route")
|
||||
{
|
||||
ShowRouteList();
|
||||
}
|
||||
else
|
||||
{
|
||||
ShowCollectionList();
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
ShowCollectionList();
|
||||
App.CurrentSubRouteType = "Route";
|
||||
typeSelector.gameObject.SetActive(false);
|
||||
}
|
||||
|
||||
}
|
||||
private async void GetList()
|
||||
{
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user