public void Handle(TLUpdateChatParticipantAdmin updateChatParticipantAdmin) { if (_currentChat.Index != updateChatParticipantAdmin.ChatId.Value) { return; } Execute.BeginOnUIThread(() => { foreach (var item in Items) { if (item.Index == updateChatParticipantAdmin.UserId.Value) { item.IsSelected = updateChatParticipantAdmin.IsAdmin.Value; break; } } }); }
public void Handle(TLUpdateChatParticipantAdmin updateChatParticipantAdmin) { NotifyOfPropertyChange(() => CanEditChat); }