示例#1
0
        private async Task RefreshCircleInfo()
        {
            if (string.IsNullOrEmpty(CircleId))
            {
                return;
            }

            Circle = await DataRequester.RequestCircleInfo(CircleId);

            if (Circle == null)
            {
                return;
            }

            Title = Circle.Name;
            if (string.IsNullOrEmpty(Circle.Image))
            {
                Circle.Image = Circle.Thumbnail;
            }
            Circle.Adjust();

            JoinCircleButtonIcon = Circle.Status == 1 ? _checkIcon : _addIcon;
            Notify("Circle");
        }