Exemplo n.º 1
0
        private async void DestructTimer_Clicked(object sender, EventArgs e)
        {
            var action = await DisplayActionSheet("After Read Self-Destruct ? ", "Cancel", null, "Yes", "No");

            bool Self_destruct = false;

            if (action != null)
            {
                if (action.CompareTo("Yes") == 0)
                {
                    Self_destruct = true;
                }
            }
            _chatRoom.ChatRoom.IsDestruct = Self_destruct;
            await _chatRoom.UpdateRoomDestructStatus(Self_destruct);
        }