2
0
mirror of https://github.com/kotatogram/kotatogram-desktop synced 2025-08-31 06:35:14 +00:00

Removed Application::showTheme.

This commit is contained in:
23rd
2021-06-15 23:30:08 +03:00
committed by John Preston
parent b4bff939b1
commit 7304f2b695
6 changed files with 45 additions and 30 deletions

View File

@@ -390,14 +390,6 @@ bool Application::hideMediaView() {
return false;
}
void Application::showTheme(
not_null<DocumentData*> document,
const Data::CloudTheme &cloud) {
Expects(_mediaView != nullptr);
_mediaView->showTheme(document, cloud);
}
PeerData *Application::ui_getPeerForMouseAction() {
if (_mediaView && !_mediaView->isHidden()) {
return _mediaView->ui_getPeerForMouseAction();