mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-08-31 06:26:18 +00:00
Playlist appearance added to the new media player.
Also itemRemoved() now is fired as a global observable.
This commit is contained in:
@@ -74,7 +74,7 @@ Manager::Manager() {
|
||||
notification->updatePeerPhoto();
|
||||
}
|
||||
});
|
||||
subscribe(Global::RefNotifySettingsChanged(), [this](const Notify::ChangeType &change) {
|
||||
subscribe(Global::RefNotifySettingsChanged(), [this](Notify::ChangeType change) {
|
||||
settingsChanged(change);
|
||||
});
|
||||
_inputCheckTimer.setTimeoutHandler([this] { checkLastInput(); });
|
||||
@@ -89,7 +89,7 @@ bool Manager::hasReplyingNotification() const {
|
||||
return false;
|
||||
}
|
||||
|
||||
void Manager::settingsChanged(const Notify::ChangeType &change) {
|
||||
void Manager::settingsChanged(Notify::ChangeType change) {
|
||||
if (change == Notify::ChangeType::Corner) {
|
||||
auto startPosition = notificationStartPosition();
|
||||
auto shiftDirection = notificationShiftDirection();
|
||||
|
Reference in New Issue
Block a user