Skip to content

Commit 9e5030d

Browse files
committed
Invoke on UI thread
1 parent 34a818d commit 9e5030d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Telegram/Controls/Chats/ChatBackgroundPresenter.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -465,7 +465,7 @@ private void UpdateFile(object target, File file)
465465
{
466466
if (file.Id == _backgroundId)
467467
{
468-
UpdateSource(null, _background, _thumbnail);
468+
this.BeginOnUIThread(() => UpdateSource(null, _background, _thumbnail));
469469
}
470470
}
471471

0 commit comments

Comments
 (0)