Update Flow.Launcher/ViewModel/MainViewModel.cs

Co-authored-by: Jeremy Wu <jeremy24wu@gmail.com>
This commit is contained in:
Kevin Zhang 2021-12-19 11:57:25 -06:00 committed by GitHub
parent 04c92b05ee
commit b487b6b10c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -746,7 +746,7 @@ namespace Flow.Launcher.ViewModel
MainWindowVisibilityStatus = true;
if(_settings.UseAnimation)
((MainWindow)Application.Current.MainWindow)?.WindowAnimator();
((MainWindow)Application.Current.MainWindow).WindowAnimator();
MainWindowOpacity = 1;
}