File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -1859,7 +1859,7 @@ public async Task SetupQuickSwitchAsync(nint handle)
18591859 // Only update the position
18601860 Application . Current ? . Dispatcher . Invoke ( ( ) =>
18611861 {
1862- ( Application . Current ? . MainWindow as MainWindow ) . UpdatePosition ( ) ;
1862+ ( Application . Current ? . MainWindow as MainWindow ) ? . UpdatePosition ( ) ;
18631863 } ) ;
18641864
18651865 _ = ResetWindowAsync ( ) ;
@@ -1950,7 +1950,7 @@ public async void ResetQuickSwitch()
19501950 // Only update the position
19511951 Application . Current ? . Dispatcher . Invoke ( ( ) =>
19521952 {
1953- ( Application . Current ? . MainWindow as MainWindow ) . UpdatePosition ( ) ;
1953+ ( Application . Current ? . MainWindow as MainWindow ) ? . UpdatePosition ( ) ;
19541954 } ) ;
19551955
19561956 _ = ResetWindowAsync ( ) ;
You can’t perform that action at this time.
0 commit comments