private void Subscriber(StoryEvent param)
{
switch(param.Type)
{
case StoryEventType.Menu:
ResetCategoryPanel();
break;
case StoryEventType.Comment:
if (!Config.IsSinglePage)
{
StoryContentView.IsPaneOpen = !StoryContentView.IsPaneOpen;
}
if(Config.UIStatus == AppUIStatus.All)
{
StorageUtil.SetCommentPanelStatus(StoryContentView.IsPaneOpen);
}
break;
}
}