#pragma warning disable CS0618 // Type or member is obsolete
        private void SlidableListItem_SwipeStatusChanged(SlidableListItem sender, SwipeStatusChangedEventArgs args)
        {
            if (args.NewValue == SwipeStatus.Idle)
            {
                if (args.OldValue == SwipeStatus.SwipingPassedLeftThreshold || args.OldValue == SwipeStatus.SwipingPassedRightThreshold && sender.LeftCommandParameter is ConferenceItem)
                {
                    removeBookmark(sender.LeftCommandParameter as ConferenceItem);
                }
            }
        }
 private async void SlideListItem_sli_SwipeStatusChanged(SlidableListItem sender, SwipeStatusChangedEventArgs args)
 {
     if (args.NewValue == SwipeStatus.Idle)
     {
         if (args.OldValue == SwipeStatus.SwipingPassedLeftThreshold)
         {
             await DeleteChatAsync();
         }
         else if (args.OldValue == SwipeStatus.SwipingPassedRightThreshold)
         {
             if (Chat.Chat.chatType == ChatType.MUC)
             {
                 VIEW_MODEL.SwitchChatBookmarked(Chat);
             }
             else
             {
                 await VIEW_MODEL.SwitchChatInRosterAsync(Chat);
             }
         }
     }
 }
        private async void SlideListItem_sli_SwipeStatusChanged(SlidableListItem sender, SwipeStatusChangedEventArgs args)
        {
            if (args.NewValue == SwipeStatus.Idle)
            {
                if (args.OldValue == SwipeStatus.SwipingPassedLeftThreshold)
                {
                    await deleteChatAsync();
                }
                else if (args.OldValue == SwipeStatus.SwipingPassedRightThreshold)
                {
                    if (Client != null && !Client.isConnected())
                    {
                        TextDialog dialog = new TextDialog()
                        {
                            Title = "Error",
                            Text  = "Account not connected!"
                        };
                        await UiUtils.showDialogAsyncQueue(dialog);
                    }
                    else
                    {
                        switch (Chat.chatType)
                        {
                        case ChatType.CHAT:
                            await switchChatInRoosterAsync();

                            break;

                        case ChatType.MUC:
                            switchMUCBookmarkes();
                            break;
                        }
                    }
                }
            }
        }