Skip to content

Commit 2d8fb4b

Browse files
committed
Fix null ref
1 parent 8510b97 commit 2d8fb4b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Telegram/Controls/Messages/MessageSelector.xaml.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ protected override void OnLoaded()
6767
{
6868
_hasInitialLoadedEventFired = true;
6969

70-
_compositor = _hitTest.Compositor;
70+
_compositor = BootStrapper.Current.Compositor;
7171
_container ??= _compositor.CreateContainerVisual();
7272

7373
if (_requiresArrange)

0 commit comments

Comments
 (0)