Example #1
0
        private async Task ChangePostRange(CommentData.PostData post)
        {
            string toPerm = null;

            if (CB_Range.SelectedIndex == 0)
            {
                toPerm = "A";
            }
            else if (CB_Range.SelectedIndex == 1)
            {
                toPerm = "F";
            }
            else if (CB_Range.SelectedIndex == 2)
            {
                toPerm = "M";
            }

            await KakaoRequestClass.SetActivityProfile(post.id, toPerm, post.sharable, post.comment_all_writable, post.is_must_read);

            return;
        }