Skip to content

Commit 6821870

Browse files
committed
Fix screenshots
1 parent 1c0490a commit 6821870

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

Telegram/ViewModels/DialogViewModel.cs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2321,15 +2321,15 @@ protected override async Task OnNavigatedToAsync(object parameter, NavigationMod
23212321
return;
23222322
}
23232323

2324+
Chat = chat;
2325+
IsForum = Type == DialogType.History && ClientService.IsForum(chat);
2326+
IsDirectMessagesGroup = Type == DialogType.History && ClientService.IsDirectMessagesGroup(chat);
2327+
23242328
if (HasProtectedContent)
23252329
{
23262330
Delegate?.DisableScreenCapture();
23272331
}
23282332

2329-
Chat = chat;
2330-
IsForum = Type == DialogType.History && ClientService.IsForum(chat);
2331-
IsDirectMessagesGroup = Type == DialogType.History && ClientService.IsDirectMessagesGroup(chat);
2332-
23332333
SetScrollMode(ItemsUpdatingScrollMode.KeepLastItemInView, true);
23342334
SetTranslating();
23352335

0 commit comments

Comments
 (0)