mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2026-07-29 00:39:55 +00:00
Add new animations engine.
This commit is contained in:
@@ -117,10 +117,9 @@ namespace App {
|
||||
}
|
||||
|
||||
MainWindow *wnd() {
|
||||
if (Core::Sandbox::Instance().applicationLaunched()) {
|
||||
return Core::App().getActiveWindow();
|
||||
}
|
||||
return nullptr;
|
||||
return Core::IsAppLaunched()
|
||||
? Core::App().getActiveWindow()
|
||||
: nullptr;
|
||||
}
|
||||
|
||||
MainWidget *main() {
|
||||
|
||||
Reference in New Issue
Block a user