mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-08-31 06:35:14 +00:00
Move MediaView from MainWindow to Messenger.
This commit is contained in:
@@ -160,7 +160,7 @@ namespace App {
|
||||
|
||||
MainWindow *wnd() {
|
||||
if (auto instance = Messenger::InstancePointer()) {
|
||||
return instance->mainWindow();
|
||||
return instance->getActiveWindow();
|
||||
}
|
||||
return nullptr;
|
||||
}
|
||||
|
Reference in New Issue
Block a user