...
This commit is contained in:
@@ -174,12 +174,18 @@
|
||||
public int UserID = 0;
|
||||
async Task OnclickInbox(int ID)
|
||||
{
|
||||
Inbox1Items = await conversationService.ConversationAwaitingOurResponse();
|
||||
Inbox2Items = await conversationService.MyConversationIsInProgress();
|
||||
Inbox3Items = await conversationService.MyConversationIsFinished();
|
||||
|
||||
switch (ID)
|
||||
{
|
||||
case 1:
|
||||
isSelectedInbox1 = true;
|
||||
isSelectedInbox2 = false;
|
||||
isSelectedInbox3 = false;
|
||||
|
||||
|
||||
break;
|
||||
|
||||
case 2:
|
||||
@@ -219,8 +225,15 @@
|
||||
}
|
||||
async Task onClickSelectedCon(int InboxID,Read_ConversationDto conversationDto)
|
||||
{
|
||||
// پر کردن SelectedCon
|
||||
// مقدار دادن به SelectedChatUserName
|
||||
if (InboxID == 1 )
|
||||
Inbox1Items = await conversationService.ConversationAwaitingOurResponse();
|
||||
if (InboxID == 2 )
|
||||
Inbox2Items = await conversationService.MyConversationIsInProgress();
|
||||
if ( InboxID == 3)
|
||||
Inbox3Items = await conversationService.MyConversationIsFinished();
|
||||
|
||||
|
||||
|
||||
chatloading = true;
|
||||
SelectedChatUserName = "در حال گفتگو با "+ conversationDto.UserFullName;
|
||||
SelectedConversation = conversationDto;
|
||||
|
Reference in New Issue
Block a user